Versions in this module Expand all Collapse all v0 v0.1.0 Mar 11, 2024 Changes in this version + func Close() error + type DbConfig struct + Database string + Driver string + Host string + Password string + Port string + User string + type Dbx struct + func Open(driver string, config string) (*Dbx, error) + func (c *Dbx) Rollback() error + 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 + type NullUint64 struct + Uint64 uint64 + Valid bool + func (n *NullUint64) Scan(value interface{}) error + func (n NullUint64) Value() (driver.Value, error)