Documentation ¶
Index ¶
- func Execute(ctx context.Context, driver Driver, stmt *sqlstmt.Statement, ...) (result sql.Result, err error)
- func Query(ctx context.Context, driver Driver, stmt *sqlstmt.Statement, ...) (rows *sql.Rows, err error)
- func QueryRowContext(ctx context.Context, driver Driver, stmt *sqlstmt.Statement, ...) (row *sql.Row)
- type Driver
- type Info
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute(ctx context.Context, driver Driver, stmt *sqlstmt.Statement, logger logs.Logger) (result sql.Result, err error)
Execute :
Types ¶
type Driver ¶
type Driver interface { ExecContext(ctx context.Context, query string, args ...interface{}) (sql.Result, error) QueryContext(ctx context.Context, query string, args ...interface{}) (*sql.Rows, error) QueryRowContext(ctx context.Context, query string, args ...interface{}) *sql.Row }
Driver :
Click to show internal directories.
Click to hide internal directories.