Documentation ¶
Index ¶
- func Add(table string, entry map[string]interface{}) error
- func AddBulk(table string, entries []map[string]interface{}) error
- func AsList(query string) ([]map[string]interface{}, error)
- func Close()
- func Connect(driver string, db_uri string)
- func Delete(table string, id interface{}) error
- func Do(query string) error
- func Get(table string, filter map[string]interface{}, rest ...string) ([]map[string]interface{}, error)
- func GetAll(table string, rest ...string) ([]map[string]interface{}, error)
- func GetByID(table string, id interface{}, rest ...string) (map[string]interface{}, error)
- func GetID(table string, filter map[string]interface{}, rest ...string) (interface{}, error)
- func GetSingle(table string, filter map[string]interface{}, rest ...string) (map[string]interface{}, error)
- func Update(table string, values map[string]interface{}, conditions map[string]interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.