Documentation ¶
Index ¶
- type DBQuerier
- func (q *DBQuerier) VoidOnly(ctx context.Context) (pgconn.CommandTag, error)
- func (q *DBQuerier) VoidOnlyTwoParams(ctx context.Context, id int32) (pgconn.CommandTag, error)
- func (q *DBQuerier) VoidThree(ctx context.Context) (VoidThreeRow, error)
- func (q *DBQuerier) VoidThree2(ctx context.Context) ([]string, error)
- func (q *DBQuerier) VoidTwo(ctx context.Context) (string, error)
- type Querier
- type VoidThreeRow
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBQuerier ¶
type DBQuerier struct {
// contains filtered or unexported fields
}
func NewQuerier ¶
NewQuerier creates a DBQuerier that implements Querier.
func (*DBQuerier) VoidOnlyTwoParams ¶
VoidOnlyTwoParams implements Querier.VoidOnlyTwoParams.
func (*DBQuerier) VoidThree ¶
func (q *DBQuerier) VoidThree(ctx context.Context) (VoidThreeRow, error)
VoidThree implements Querier.VoidThree.
func (*DBQuerier) VoidThree2 ¶
VoidThree2 implements Querier.VoidThree2.
type Querier ¶
type Querier interface { VoidOnly(ctx context.Context) (pgconn.CommandTag, error) VoidOnlyTwoParams(ctx context.Context, id int32) (pgconn.CommandTag, error) VoidTwo(ctx context.Context) (string, error) VoidThree(ctx context.Context) (VoidThreeRow, error) VoidThree2(ctx context.Context) ([]string, error) }
Querier is a typesafe Go interface backed by SQL queries.
type VoidThreeRow ¶
Click to show internal directories.
Click to hide internal directories.