Documentation ¶
Index ¶
- type Config
- type DB
- func (db *DB) Close()
- func (db *DB) Commit()
- func (db *DB) Exec(query string, args ...interface{})
- func (db *DB) Rollback()
- func (db *DB) Select(query string, args []interface{}, fn ROW_CALLBACK)
- func (db *DB) SelectFloat(query string, args ...interface{}) (float64, bool)
- func (db *DB) SelectInt(query string, args ...interface{}) (int64, bool)
- func (db *DB) SelectRow(query string, args []interface{}, res ...interface{}) bool
- func (db *DB) SelectString(query string, args ...interface{}) (string, bool)
- type ROW_CALLBACK
- type Row
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) Select ¶
func (db *DB) Select(query string, args []interface{}, fn ROW_CALLBACK)
func (*DB) SelectFloat ¶
type ROW_CALLBACK ¶
Click to show internal directories.
Click to hide internal directories.