Documentation ¶
Index ¶
- type Condition
- type Map
- type Sqlq
- func (sqlq *Sqlq) Between(column, value1, value2 interface{}) string
- func (sqlq *Sqlq) Compare(column interface{}, operator string, value interface{}) string
- func (Sqlq) Concat(queryA ...*query) *query
- func (Sqlq) Conditions(conditions ...string) string
- func (sqlq *Sqlq) Count(column interface{}) string
- func (sqlq *Sqlq) CountDistinct(column interface{}) string
- func (sqlq *Sqlq) Delete(table interface{}) string
- func (sqlq *Sqlq) From(tables ...interface{}) string
- func (sqlq *Sqlq) FullJoin(table, table1Column, table2Column interface{}) string
- func (sqlq *Sqlq) FullOuterJoin(table, table1Column, table2Column interface{}) string
- func (sqlq *Sqlq) GroupBy(columns ...interface{}) string
- func (sqlq *Sqlq) I(i interface{}, skipEscape ...bool) string
- func (sqlq *Sqlq) If(condition bool, s ...string) *Condition
- func (sqlq *Sqlq) In(column interface{}, values ...interface{}) string
- func (sqlq *Sqlq) InnerJoin(table, table1Column, table2Column interface{}) string
- func (sqlq *Sqlq) InsertInto(table interface{}, columns Map) string
- func (sqlq *Sqlq) Into(newTable string) string
- func (sqlq *Sqlq) IsNotNull(column interface{}) string
- func (sqlq *Sqlq) IsNull(column interface{}) string
- func (sqlq *Sqlq) Join(table, table1Column, table2Column interface{}) string
- func (sqlq *Sqlq) L(i interface{}, skipEscape ...bool) string
- func (sqlq *Sqlq) LeftJoin(table, table1Column, table2Column interface{}) string
- func (sqlq *Sqlq) LeftOuterJoin(table, table1Column, table2Column interface{}) string
- func (sqlq *Sqlq) Like(column interface{}, pattern string, value interface{}) string
- func (sqlq *Sqlq) Limit(value int) string
- func (sqlq *Sqlq) NotBetween(column, value1, value2 interface{}) string
- func (sqlq *Sqlq) NotIn(column interface{}, values ...interface{}) string
- func (sqlq *Sqlq) NotLike(column interface{}, pattern string, value interface{}) string
- func (sqlq *Sqlq) O(s string, skipEscape ...bool) string
- func (sqlq *Sqlq) Offset(value int) string
- func (Sqlq) OrConditions(conditions ...string) string
- func (sqlq *Sqlq) OrderBy(column interface{}, order string) string
- func (sqlq *Sqlq) Paginate(page, perPage int) string
- func (Sqlq) Query(qParts ...string) *query
- func (sqlq *Sqlq) Raw() *Sqlq
- func (sqlq *Sqlq) RightJoin(table, table1Column, table2Column interface{}) string
- func (sqlq *Sqlq) RightOuterJoin(table, table1Column, table2Column interface{}) string
- func (sqlq *Sqlq) Select(columns ...interface{}) string
- func (sqlq *Sqlq) SelectDistinct(columns ...interface{}) string
- func (sqlq *Sqlq) SkipEscapeOnce()
- func (sqlq *Sqlq) StartEscape()
- func (sqlq *Sqlq) StopEscape()
- func (Sqlq) Union(selectStatements ...string) string
- func (Sqlq) UnionAll(selectStatements ...string) string
- func (sqlq *Sqlq) Update(table interface{}, columns Map) string
- func (sqlq *Sqlq) Where(conditions ...string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Condition ¶
type Condition struct {
// contains filtered or unexported fields
}
type Sqlq ¶
func (*Sqlq) Compare ¶
func (*Sqlq) FullJoin ¶
func (*Sqlq) FullOuterJoin ¶
func (*Sqlq) I ¶
I any type identifier
func (*Sqlq) InnerJoin ¶
func (*Sqlq) LeftJoin ¶
func (*Sqlq) LeftOuterJoin ¶
func (*Sqlq) Like ¶
Like : pattern "%?%" ? mark replaced by value
func (*Sqlq) NotLike ¶
func (*Sqlq) RightJoin ¶
func (*Sqlq) RightOuterJoin ¶
Click to show internal directories.
Click to hide internal directories.