Documentation
¶
Index ¶
- type Author
- type CreateAuthorParams
- type DBTX
- type PartialUpdateAuthorParams
- type Postgres
- type Queries
- func (q *Queries) CreateAuthor(ctx context.Context, arg CreateAuthorParams) (Author, error)
- func (q *Queries) DeleteAuthor(ctx context.Context, id int64) error
- func (q *Queries) GetAuthor(ctx context.Context, id int64) (Author, error)
- func (q *Queries) ListAuthors(ctx context.Context) ([]Author, error)
- func (q *Queries) PartialUpdateAuthor(ctx context.Context, arg PartialUpdateAuthorParams) (Author, error)
- func (q *Queries) TruncateAuthor(ctx context.Context) error
- func (q *Queries) UpdateAuthor(ctx context.Context, arg UpdateAuthorParams) (Author, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type UpdateAuthorParams
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateAuthorParams ¶
type Postgres ¶
func NewPostgres ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreateAuthor ¶
func (*Queries) PartialUpdateAuthor ¶
func (*Queries) UpdateAuthor ¶
type UpdateAuthorParams ¶
Click to show internal directories.
Click to hide internal directories.