Documentation ¶
Index ¶
- Variables
- func RecycleSql(sql *Sql)
- type H
- type Join
- type RawUpdate
- type Sql
- func (sql *Sql) All() ([]map[string]interface{}, error)
- func (sql *Sql) Count() (int64, error)
- func (sql *Sql) Delete() error
- func (sql *Sql) Exec() (int64, error)
- func (sql *Sql) Find(arg interface{}) (map[string]interface{}, error)
- func (sql *Sql) First() (map[string]interface{}, error)
- func (sql *Sql) Insert(values H) (int64, error)
- func (sql *Sql) LeftJoin(table string, fieldA string, operation string, fieldB string) *Sql
- func (sql *Sql) OrderBy(fields ...string) *Sql
- func (sql *Sql) Select(fields ...string) *Sql
- func (sql *Sql) Skip(offset int) *Sql
- func (sql *Sql) Table(table string) *Sql
- func (sql *Sql) Take(take int) *Sql
- func (sql *Sql) Update(values H) (int64, error)
- func (sql *Sql) UpdateRaw(raw string, args ...interface{}) *Sql
- func (sql *Sql) Where(field string, operation string, arg interface{}) *Sql
- func (sql *Sql) WhereIn(field string, arg []interface{}) *Sql
- func (sql *Sql) WhereNotIn(field string, arg []interface{}) *Sql
- func (sql *Sql) WhereRaw(raw string, args ...interface{}) *Sql
- type Where
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RecycleSql ¶
func RecycleSql(sql *Sql)
Types ¶
Click to show internal directories.
Click to hide internal directories.