Documentation ¶
Index ¶
- type CreatePersonParams
- type DBTX
- type GetPersonRow
- type Person
- type Queries
- func (q *Queries) CountPerson(ctx context.Context) (int64, error)
- func (q *Queries) CreatePerson(ctx context.Context, arg CreatePersonParams) error
- func (q *Queries) GetPerson(ctx context.Context, id string) (GetPersonRow, error)
- func (q *Queries) SearchPerson(ctx context.Context, query string) ([]SearchPersonRow, error)
- func (q *Queries) WithTx(tx pgx.Tx) *Queries
- type SearchPersonRow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatePersonParams ¶
type GetPersonRow ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CreatePerson ¶
func (q *Queries) CreatePerson(ctx context.Context, arg CreatePersonParams) error
func (*Queries) SearchPerson ¶
Click to show internal directories.
Click to hide internal directories.