Documentation
¶
Index ¶
- type Db
- func (db *Db) Close() (err error)
- func (db *Db) CreateTable(name string, schema Schema) (err error)
- func (db *Db) DeleteRowsByID(table string, idCol string, ids ...interface{}) (numDeletedRows int64, err error)
- func (db *Db) InsertRows(table string, rows []interface{}) (numInsertedRows int64, lastID int64, err error)
- type DbType
- type Schema
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Db ¶
Db wraps goqu.Database to expose a Close method for the underlying database driver
func (*Db) CreateTable ¶
CreateTable creates a table
Click to show internal directories.
Click to hide internal directories.