Documentation ¶
Index ¶
- func BeginTx(p TxStarter, ctx context.Context, opts *sql.TxOptions) (*sql.Tx, error)
- func ExecContext(p Execer, ctx context.Context, query string, args []interface{}) (sql.Result, error)
- func PrepareContext(p Preparer, ctx context.Context, query string) (*sql.Stmt, error)
- func PreparedExecContext(p PreparedExecer, ctx context.Context, args []interface{}) (sql.Result, error)
- func PreparedQueryContext(p PreparedQueryer, ctx context.Context, args []interface{}) (*sql.Rows, error)
- func PreparedQueryRowContext(p PreparedRowQueryer, ctx context.Context, args []interface{}) *sql.Row
- func QueryContext(p Queryer, ctx context.Context, query string, args []interface{}) (*sql.Rows, error)
- func QueryRowContext(p RowQueryer, ctx context.Context, query string, args []interface{}) *sql.Row
- type Execer
- type PreparedExecer
- type PreparedQueryer
- type PreparedRowQueryer
- type Preparer
- type Queryer
- type RowQueryer
- type TxStarter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecContext ¶
func PrepareContext ¶
func PreparedExecContext ¶
func PreparedQueryContext ¶
func PreparedQueryRowContext ¶
func PreparedQueryRowContext(p PreparedRowQueryer, ctx context.Context, args []interface{}) *sql.Row
func QueryContext ¶
func QueryRowContext ¶
Types ¶
type PreparedExecer ¶
type PreparedQueryer ¶
type PreparedRowQueryer ¶
type RowQueryer ¶
Click to show internal directories.
Click to hide internal directories.