Documentation
¶
Index ¶
- type Client
- func (db *Client) Close() error
- func (db *Client) TestsRawSQL(ctx context.Context, sql string, args ...any) error
- func (db *Client) TestsRawSQLQuery(ctx context.Context, sql string, processRows func(pgx.Rows) error, args ...any) error
- func (db *Client) WithTx(ctx context.Context) (*authqueries.Queries, pgx.Tx, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
Read *authqueries.Queries
Write *authqueries.Queries
// contains filtered or unexported fields
}
func (*Client) TestsRawSQL ¶
TestsRawSQL executes raw SQL for tests
Click to show internal directories.
Click to hide internal directories.