Versions in this module Expand all Collapse all v1 v1.0.0 May 23, 2018 Changes in this version + func DefaultGrammar(name string) + func RegisterGrammar(name string, grammar func() Grammar) + type Builder interface + Grammar func(Grammar) Builder + Params func() []interface{} + String func() string + func Query(query string, params ...interface{}) Builder + type Grammar interface + Placeholder func(n int) string + Wrap func(s string) string + func MysqlGrammar() Grammar + func PgsqlGrammar() Grammar + func SQLiteGrammar() Grammar + type SetGroup struct + func (g *SetGroup) Grammar(grammar Grammar) Builder + func (g *SetGroup) Params() []interface{} + func (g *SetGroup) Set(field string, value interface{}) *SetGroup + func (g *SetGroup) SetRaw(query string, params ...interface{}) *SetGroup + func (g *SetGroup) String() string + type ValuesGroup struct + func (g *ValuesGroup) Grammar(grammar Grammar) Builder + func (g *ValuesGroup) Params() []interface{} + func (g *ValuesGroup) String() string + func (g *ValuesGroup) Values(values ...interface{}) *ValuesGroup + type WhereGroup struct + func (g *WhereGroup) Grammar(grammar Grammar) Builder + func (g *WhereGroup) Params() []interface{} + func (g *WhereGroup) String() string + func (g *WhereGroup) Where(field, operator string, value interface{}) *WhereGroup + func (g *WhereGroup) WhereGroup(group *WhereGroup) *WhereGroup + func (g *WhereGroup) WhereGroupOr(group *WhereGroup) *WhereGroup + func (g *WhereGroup) WhereIn(field string, params ...interface{}) *WhereGroup + func (g *WhereGroup) WhereInOr(field string, params ...interface{}) *WhereGroup + func (g *WhereGroup) WhereInSub(field string, query Builder) *WhereGroup + func (g *WhereGroup) WhereInSubOr(field string, query Builder) *WhereGroup + func (g *WhereGroup) WhereNotIn(field string, params ...interface{}) *WhereGroup + func (g *WhereGroup) WhereNotInOr(field string, params ...interface{}) *WhereGroup + func (g *WhereGroup) WhereNotInSub(field string, query Builder) *WhereGroup + func (g *WhereGroup) WhereNotInSubOr(field string, query Builder) *WhereGroup + func (g *WhereGroup) WhereNotNull(field string) *WhereGroup + func (g *WhereGroup) WhereNotNullOr(field string) *WhereGroup + func (g *WhereGroup) WhereNull(field string) *WhereGroup + func (g *WhereGroup) WhereNullOr(field string) *WhereGroup + func (g *WhereGroup) WhereOr(field, operator string, value interface{}) *WhereGroup + func (g *WhereGroup) WhereRaw(query string, params ...interface{}) *WhereGroup + func (g *WhereGroup) WhereRawOr(query string, params ...interface{}) *WhereGroup Incompatible versions in this module v2.0.2+incompatible Apr 18, 2019 v2.0.1+incompatible Sep 5, 2018 v2.0.0+incompatible Aug 28, 2018