Documentation
¶
Index ¶
- Variables
- func ExecQuery(db *sql.DB, query string, queryargs ...interface{}) (result sql.Result, err error)
- func ExecQueryRow(db *sql.DB, query string, queryargs ...interface{}) (row *sql.Row)
- func ExecQueryWithTransaction(stmt *sql.Stmt, args ...interface{}) (result sql.Result, err error)
- func GetConn() (*sql.DB, err)
- func GetSqliteDB(path string) (db *sql.DB, err error)
- func GetTransactionAndStatement(db *sql.DB, query string) (tx *sql.Tx, stmt *sql.Stmt, err error)
- func RunQuery(db *sql.DB, query string, args ...interface{}) (rows *sql.Rows, err error)
- func RunQueryWithTransaction(stmt *sql.Stmt, args ...interface{}) (rows *sql.Rows, err error)
- func ScanRow(row *sql.Row, scanargs ...interface{}) (err error)
- type ConnVars
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoRows = sql.ErrNoRows
Functions ¶
func ExecQueryRow ¶
func RunQueryWithTransaction ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.