Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Context *sql.DB
Functions ¶
func QueryRowsContext ¶
func QueryRowsContext(ctx context.Context, q RowsQueryContext, query string, values ...any) rows
Types ¶
type Q ¶
type Q interface { Exec(query string, args ...interface{}) (sql.Result, error) Query(query string, args ...interface{}) (*sql.Rows, error) QueryRow(query string, args ...interface{}) *sql.Row Prepare(string) (*sql.Stmt, error) }
Standard set of database operations
type RowsQueryContext ¶
Click to show internal directories.
Click to hide internal directories.