Documentation ¶
Index ¶
- Constants
- func ConnExecContext(c *sql.Conn, ctx context.Context, query string, args ...interface{}) (sql.Result, error)
- func ConnPrepareContext(c *sql.Conn, ctx context.Context, query string) (*sql.Stmt, error)
- func ConnQueryContext(c *sql.Conn, ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
- func DBClose(db *sql.DB) error
- func DBExecContext(db *sql.DB, ctx context.Context, query string, args ...interface{}) (sql.Result, error)
- func DBOpen(driverName, dataSourceName string) (*sql.DB, error)
- func DBPrepareContext(db *sql.DB, ctx context.Context, query string) (*sql.Stmt, error)
- func DBQueryContext(db *sql.DB, ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
- func DBexecDC(db *sql.DB, ctx context.Context, dc *driverConn, release func(error), ...) (res sql.Result, err error)
- func DBprepareDC(db *sql.DB, ctx context.Context, dc *driverConn, release func(error), ...) (*sql.Stmt, error)
- func DBqueryDC(db *sql.DB, ctx, txctx context.Context, dc *driverConn, ...) (*sql.Rows, error)
- func RowsClose(rs *sql.Rows) error
- func StmtClose(s *sql.Stmt) error
- func StmtExecContext(s *sql.Stmt, ctx context.Context, args ...interface{}) (sql.Result, error)
- func StmtQueryContext(s *sql.Stmt, ctx context.Context, args ...interface{}) (*sql.Rows, error)
- func StrSplit(source string, issep func(byte) bool, handler func(string) bool)
- func TxExecContext(tx *sql.Tx, ctx context.Context, query string, args ...interface{}) (sql.Result, error)
- func TxPrepareContext(tx *sql.Tx, ctx context.Context, query string) (*sql.Stmt, error)
- func TxQueryContext(tx *sql.Tx, ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
- func WrapConnExecContext(c *sql.Conn, ctx context.Context, query string, args ...interface{}) (sql.Result, error)
- func WrapConnPrepareContext(c *sql.Conn, ctx context.Context, query string) (*sql.Stmt, error)
- func WrapConnQueryContext(c *sql.Conn, ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
- func WrapDBClose(db *sql.DB) error
- func WrapDBExecContext(db *sql.DB, ctx context.Context, query string, args ...interface{}) (sql.Result, error)
- func WrapDBOpen(driverName, dataSourceName string) (*sql.DB, error)
- func WrapDBPrepareContext(db *sql.DB, ctx context.Context, query string) (*sql.Stmt, error)
- func WrapDBQueryContext(db *sql.DB, ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
- func WrapDBexecDC(db *sql.DB, ctx context.Context, dc *driverConn, release func(error), ...) (res sql.Result, err error)
- func WrapDBprepareDC(db *sql.DB, ctx context.Context, dc *driverConn, release func(error), ...) (*sql.Stmt, error)
- func WrapDBqueryDC(db *sql.DB, ctx, txctx context.Context, dc *driverConn, ...) (*sql.Rows, error)
- func WrapRowsClose(rs *sql.Rows) error
- func WrapStmtClose(s *sql.Stmt) error
- func WrapStmtExecContext(s *sql.Stmt, ctx context.Context, args ...interface{}) (sql.Result, error)
- func WrapStmtQueryContext(s *sql.Stmt, ctx context.Context, args ...interface{}) (*sql.Rows, error)
- func WrapTxExecContext(tx *sql.Tx, ctx context.Context, query string, args ...interface{}) (sql.Result, error)
- func WrapTxPrepareContext(tx *sql.Tx, ctx context.Context, query string) (*sql.Stmt, error)
- func WrapTxQueryContext(tx *sql.Tx, ctx context.Context, query string, args ...interface{}) (*sql.Rows, error)
- type StructSQLDB110
- type StructSQLDB111
Constants ¶
View Source
const ( StorageIndexContext = tingyun3.StorageIndexDatabase + 0 StorageIndexLock = tingyun3.StorageIndexDatabase + 1 )
Variables ¶
This section is empty.
Functions ¶
func ConnExecContext ¶
func ConnPrepareContext ¶
func ConnQueryContext ¶
func DBExecContext ¶
func DBPrepareContext ¶
func DBQueryContext ¶
func DBprepareDC ¶ added in v0.8.3
func StmtExecContext ¶
func StmtQueryContext ¶
func TxExecContext ¶
func TxPrepareContext ¶
func TxQueryContext ¶
func WrapConnExecContext ¶
func WrapConnPrepareContext ¶
func WrapConnQueryContext ¶
func WrapDBClose ¶
func WrapDBExecContext ¶
func WrapDBPrepareContext ¶
func WrapDBQueryContext ¶
func WrapDBexecDC ¶ added in v0.8.3
func WrapDBprepareDC ¶ added in v0.8.3
func WrapDBqueryDC ¶ added in v0.8.3
func WrapRowsClose ¶
func WrapStmtClose ¶
func WrapStmtExecContext ¶
func WrapStmtQueryContext ¶
func WrapTxExecContext ¶
func WrapTxPrepareContext ¶
Types ¶
type StructSQLDB110 ¶ added in v1.0.1
type StructSQLDB110 struct {
// contains filtered or unexported fields
}
type StructSQLDB111 ¶ added in v1.0.1
type StructSQLDB111 struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.