Documentation
¶
Index ¶
- func Close() error
- type DbConfig
- type Dbx
- func (d *Dbx) BeginTx() error
- func (d *Dbx) ClearTx()
- func (d *Dbx) Commit() error
- func (d *Dbx) Exec(sql string, args ...interface{}) (sql.Result, error)
- func (d *Dbx) Query(query string, args ...interface{}) (*sql.Rows, error)
- func (d *Dbx) QueryRow(query string, args ...interface{}) *sql.Row
- func (c *Dbx) Rollback() error
- type NullUint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type NullUint64 ¶
type NullUint64 struct { Uint64 uint64 Valid bool // Valid is true if Uint64 is not NULL // contains filtered or unexported fields }
NullUint64 represents an uint64 that may be null. NullUint64 implements the Scanner interface so it can be used as a scan destination, similar to NullString.
func (*NullUint64) Scan ¶
func (n *NullUint64) Scan(value interface{}) error
Scan implements the Scanner interface.
Click to show internal directories.
Click to hide internal directories.