Documentation ¶
Index ¶
- func IndexTypeString(indexType IndexType) string
- func UUIDString(id pgtype.UUID) string
- type IndexType
- type Series
- func (s *Series) GenerateSeries() error
- func (s *Series) GetUUIDv4(id pgtype.UUID) (time.Duration, error)
- func (s *Series) GetUUIDv7(id pgtype.UUID) (time.Duration, error)
- func (s *Series) GetUUIDv7BRIN(id pgtype.UUID) (time.Duration, error)
- func (s *Series) InsertUUIDv4Bulk() (chan UUID, error)
- func (s *Series) InsertUUIDv7Bulk() (chan UUID, error)
- func (s *Series) MergeUUIDResult(uuid UUID, index IndexType) error
- type UUID
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndexTypeString ¶
func UUIDString ¶
Types ¶
type Series ¶
type Series struct { Query *dbms.Queries Logger *slog.Logger // contains filtered or unexported fields }
func (*Series) GenerateSeries ¶
func (*Series) GetUUIDv7BRIN ¶
func (*Series) InsertUUIDv4Bulk ¶
func (*Series) InsertUUIDv7Bulk ¶
func (*Series) MergeUUIDResult ¶
sqlc doesn't support MERGE queries: https://github.com/sqlc-dev/sqlc/issues/1661
Click to show internal directories.
Click to hide internal directories.