Documentation ¶
Index ¶
- type SqlDb
- func (sd *SqlDb) Commit() error
- func (sd *SqlDb) Exec(query string, args ...interface{}) (sql.Result, error)
- func (sd *SqlDb) Prepare(query string) (*sql.Stmt, error)
- func (sd *SqlDb) Query(query string, args ...interface{}) (*sql.Rows, error)
- func (sd *SqlDb) QueryRow(query string, args ...interface{}) *sql.Row
- func (sd *SqlDb) Rollback() error
- func (sd *SqlDb) TxEnd(txFunc func() error) error
- type SqlTx
- func (st *SqlTx) Commit() error
- func (st *SqlTx) Exec(query string, args ...interface{}) (sql.Result, error)
- func (st *SqlTx) Prepare(query string) (*sql.Stmt, error)
- func (st *SqlTx) Query(query string, args ...interface{}) (*sql.Rows, error)
- func (st *SqlTx) QueryRow(query string, args ...interface{}) *sql.Row
- func (st *SqlTx) Rollback() error
- func (st *SqlTx) TxEnd(txFunc func() error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.