Documentation
¶
Index ¶
- type BatchCreateParams
- type Book
- type CreateParams
- type DBTX
- type Queries
- func (q *Queries) BatchCreate(ctx context.Context, arg BatchCreateParams) (int64, error)
- func (q *Queries) Create(ctx context.Context, arg CreateParams) error
- func (q *Queries) Delete(ctx context.Context, id string) error
- func (q *Queries) Get(ctx context.Context, id string) (Book, error)
- func (q *Queries) List(ctx context.Context) ([]Book, error)
- func (q *Queries) Update(ctx context.Context, arg UpdateParams) error
- func (q *Queries) Upsert(ctx context.Context, arg UpsertParams) error
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type UpdateParams
- type UpsertParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchCreateParams ¶
type CreateParams ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) BatchCreate ¶
func (*Queries) List ¶
TODO: Edit this file to create your own queries. Just some contrived examples to get you started.
type UpdateParams ¶
Click to show internal directories.
Click to hide internal directories.