Versions in this module Expand all Collapse all v1 v1.10.1 Nov 28, 2024 v1.10.0 Nov 28, 2024 Changes in this version + func And(conds ...interface{}) (g primitive.Group) + func As(field interface{}, alias string) (as primitive.As) + func Asc(field interface{}) (s primitive.Sort) + func Average(field interface{}) (a primitive.Aggregate) + func Between(field, from, to interface{}) (c primitive.C) + func Bool(val bool) (o primitive.TypeSafe) + func Case() *primitive.Case + func CastAs(value interface{}, datatype primitive.DataType) (cast primitive.CastAs) + func Collate(collate string, col interface{}, charset ...string) (o primitive.Encoding) + func Column(name string, alias ...string) (c primitive.Column) + func ColumnValue(field string, value interface{}) (kv primitive.KV) + func Count(field interface{}) (a primitive.Aggregate) + func Decrement(field string, inc uint) primitive.Math + func Desc(field interface{}) (s primitive.Sort) + func Equal(field, value interface{}) (c primitive.C) + func Exists(subquery interface{}) (grp primitive.Group) + func Field(name string, val interface{}) (f primitive.Field) + func Float32(val float32) (o primitive.TypeSafe) + func Float64(val float64) (o primitive.TypeSafe) + func Func(name string, value interface{}, others ...interface{}) (f primitive.Func) + func GreaterOrEqual(field, value interface{}) (c primitive.C) + func GreaterThan(field, value interface{}) (c primitive.C) + func In(field, values interface{}) (c primitive.C) + func Increment(field string, inc uint) primitive.Math + func Int(val int) (o primitive.TypeSafe) + func Int16(val int16) (o primitive.TypeSafe) + func Int32(val int32) (o primitive.TypeSafe) + func Int64(val int64) (o primitive.TypeSafe) + func Int8(val int8) (o primitive.TypeSafe) + func IsNull(field string) (c primitive.Nil) + func JSONColumn(column string, nested ...string) (c primitive.JSONColumn) + func JSON_CONTAINS(target, candidate interface{}, paths ...string) (f primitive.JSONFunc) + func JSON_EXTRACT(doc interface{}, path string, otherPaths ...string) (f primitive.JSONFunc) + func JSON_INSERT(doc interface{}, path string, value interface{}, pathValues ...interface{}) (f primitive.JSONFunc) + func JSON_KEYS(doc interface{}, paths ...string) (f primitive.JSONFunc) + func JSON_QUOTE(doc interface{}) (f primitive.JSONFunc) + func JSON_REMOVE(doc interface{}, path string, paths ...string) (f primitive.JSONFunc) + func JSON_REPLACE(doc interface{}, path string, value interface{}, pathValues ...interface{}) (f primitive.JSONFunc) + func JSON_SET(doc interface{}, path string, value interface{}, pathValues ...interface{}) (f primitive.JSONFunc) + func JSON_TYPE(val interface{}) (f primitive.JSONFunc) + func JSON_UNQUOTE(doc interface{}) (f primitive.JSONFunc) + func JSON_VALID(val interface{}) (f primitive.JSONFunc) + func LesserOrEqual(field, value interface{}) (c primitive.C) + func LesserThan(field, value interface{}) (c primitive.C) + func Like(field, value interface{}) (p primitive.L) + func Max(field interface{}) (a primitive.Aggregate) + func MemberOf(val interface{}, arr interface{}) (f primitive.JSONFunc) + func Min(field interface{}) (a primitive.Aggregate) + func Multiply(fields ...interface{}) (grp primitive.Group) + func NotBetween(field, from, to interface{}) (c primitive.C) + func NotEqual(field, value interface{}) (c primitive.C) + func NotExists(subquery interface{}) (grp primitive.Group) + func NotIn(field, values interface{}) (c primitive.C) + func NotLike(field, value interface{}) (p primitive.L) + func NotNull(field string) (c primitive.Nil) + func Or(conds ...interface{}) (g primitive.Group) + func Raw(value string) (r primitive.Raw) + func ST_AsText(g interface{}) (f spatial.Func) + func ST_Distance(g1, g2 interface{}, unit ...string) (f spatial.Func) + func ST_Equals(g1, g2 interface{}) (f spatial.Func) + func ST_GeomFromText(g interface{}, srid ...uint) (f spatial.Func) + func ST_Intersects(g1, g2 interface{}) (f spatial.Func) + func ST_IsValid(g interface{}) (f spatial.Func) + func ST_Within(g1, g2 interface{}) (f spatial.Func) + func String(val string) (o primitive.TypeSafe) + func Sum(field interface{}) (a primitive.Aggregate) + func Uint(val uint) (o primitive.TypeSafe) + func Uint16(val uint16) (o primitive.TypeSafe) + func Uint32(val uint32) (o primitive.TypeSafe) + func Uint64(val uint64) (o primitive.TypeSafe) + func Uint8(val uint8) (o primitive.TypeSafe) + func Union(stmt1 selectStmt, stmt2 selectStmt, others ...selectStmt) (grp primitive.Group)