Documentation ¶
Index ¶
- type DB
- func (t *DB) EnableFingerprint()
- func (t *DB) Escape(str string) string
- func (t *DB) Query(sql string, params ...interface{}) (rows []mysql.Row, res mysql.Result, err error)
- func (t *DB) QueryCtx(ctx context.Context, sql string, params ...interface{}) (rows []mysql.Row, res mysql.Result, err error)
- func (t *DB) QueryFirst(sql string, params ...interface{}) (row mysql.Row, res mysql.Result, err error)
- func (t *DB) QueryFirstCtx(ctx context.Context, sql string, params ...interface{}) (row mysql.Row, res mysql.Result, err error)
- func (t *DB) Quote(str string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB struct {
// contains filtered or unexported fields
}
func (*DB) EnableFingerprint ¶
func (t *DB) EnableFingerprint()
func (*DB) QueryFirst ¶
func (*DB) QueryFirstCtx ¶
Click to show internal directories.
Click to hide internal directories.