Documentation ¶
Index ¶
- Variables
- type DBTX
- type InsertUUIDResultBatchResults
- type InsertUUIDResultParams
- type InsertUUIDv4BulkBatchResults
- type InsertUUIDv4BulkParams
- type InsertUUIDv7BulkBatchResults
- type InsertUUIDv7BulkParams
- type Queries
- func (q *Queries) GenerateSeries(ctx context.Context) ([]pgtype.Timestamp, error)
- func (q *Queries) GetUUIDv4(ctx context.Context, id pgtype.UUID) (UuidV4, error)
- func (q *Queries) GetUUIDv7(ctx context.Context, id pgtype.UUID) (UuidV7, error)
- func (q *Queries) GetUUIDv7BRIN(ctx context.Context, idBrin pgtype.UUID) (UuidV7, error)
- func (q *Queries) InsertUUIDResult(ctx context.Context, arg []InsertUUIDResultParams) *InsertUUIDResultBatchResults
- func (q *Queries) InsertUUIDv4Bulk(ctx context.Context, arg []InsertUUIDv4BulkParams) *InsertUUIDv4BulkBatchResults
- func (q *Queries) InsertUUIDv7Bulk(ctx context.Context, arg []InsertUUIDv7BulkParams) *InsertUUIDv7BulkBatchResults
- func (q *Queries) TruncateUUIDResult(ctx context.Context) error
- func (q *Queries) TruncateUUIDv4(ctx context.Context) error
- func (q *Queries) TruncateUUIDv7(ctx context.Context) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type UuidResult
- type UuidV4
- type UuidV7
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBatchAlreadyClosed = errors.New("batch already closed")
)
Functions ¶
This section is empty.
Types ¶
type InsertUUIDResultBatchResults ¶
type InsertUUIDResultBatchResults struct {
// contains filtered or unexported fields
}
func (*InsertUUIDResultBatchResults) Close ¶
func (b *InsertUUIDResultBatchResults) Close() error
type InsertUUIDResultParams ¶
type InsertUUIDv4BulkBatchResults ¶
type InsertUUIDv4BulkBatchResults struct {
// contains filtered or unexported fields
}
func (*InsertUUIDv4BulkBatchResults) Close ¶
func (b *InsertUUIDv4BulkBatchResults) Close() error
type InsertUUIDv4BulkParams ¶
type InsertUUIDv7BulkBatchResults ¶
type InsertUUIDv7BulkBatchResults struct {
// contains filtered or unexported fields
}
func (*InsertUUIDv7BulkBatchResults) Close ¶
func (b *InsertUUIDv7BulkBatchResults) Close() error
type InsertUUIDv7BulkParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GenerateSeries ¶
casting resolves computation requirement https://github.com/sqlc-dev/sqlc/issues/1995
func (*Queries) GetUUIDv7BRIN ¶
func (*Queries) InsertUUIDResult ¶
func (q *Queries) InsertUUIDResult(ctx context.Context, arg []InsertUUIDResultParams) *InsertUUIDResultBatchResults
func (*Queries) InsertUUIDv4Bulk ¶
func (q *Queries) InsertUUIDv4Bulk(ctx context.Context, arg []InsertUUIDv4BulkParams) *InsertUUIDv4BulkBatchResults
func (*Queries) InsertUUIDv7Bulk ¶
func (q *Queries) InsertUUIDv7Bulk(ctx context.Context, arg []InsertUUIDv7BulkParams) *InsertUUIDv7BulkBatchResults
func (*Queries) TruncateUUIDResult ¶
type UuidResult ¶
Click to show internal directories.
Click to hide internal directories.