Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrBatchAlreadyClosed = errors.New("batch already closed")
)
Functions ¶
This section is empty.
Types ¶
type Querier ¶
type Querier interface {
Upsert(ctx context.Context, arg []UpsertParams) *UpsertBatchResults
}
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) Upsert ¶
func (q *Queries) Upsert(ctx context.Context, arg []UpsertParams) *UpsertBatchResults
type UpsertBatchResults ¶
type UpsertBatchResults struct {
// contains filtered or unexported fields
}
func (*UpsertBatchResults) Close ¶
func (b *UpsertBatchResults) Close() error
func (*UpsertBatchResults) Exec ¶
func (b *UpsertBatchResults) Exec(f func(int, error))
Click to show internal directories.
Click to hide internal directories.