Documentation
¶
Index ¶
Constants ¶
View Source
const ( /* * Projects the first element in an array that matches the query condition. */ FIRST_ELEM string = "$" META string = "$meta" SLICE string = "$slice" )
PROJECTION
View Source
const ( COMMENT string = "$comment" RAND string = "$rand" NATURAL string = "$natural" )
MISCELLANEOUS
View Source
const ( EQ string = "$eq" GT string = "$gt" GTE string = "$gte" IN string = "$in" LT string = "$lt" LTE string = "$lte" NE string = "$ne" NIN string = "$nin" )
COMPARISON
View Source
const ( AND string = "$and" NOT string = "$not" NOR string = "$nor" OR string = "$or" )
LOGICAL
View Source
const ( EXISTS string = "$exists" TYPE string = "$type" )
ELEMENT
View Source
const ( EXPR string = "$expr" JSONSCHEMA string = "$jsonschema" MOD string = "$mod" REGEX string = "$regex" TEXT string = "$text" WHERE string = "$where" )
EVALUATION
View Source
const ( GEO_INTERSECTS string = "$geoIntersects" GEO_WITHIN string = "$geoWithin" NEAR string = "$near" NEAR_SPHERE string = "$nearSphere" BOX string = "$box" CENTER string = "$center" CENTER_SPHERE string = "$centerSphere" GEOMETRY string = "$geometry" MAX_DISTANCE string = "$maxDistance" MIN_DISTANCE string = "$minDistance" POLYGON string = "$polygon" )
GEOSPATIAL
View Source
const ( ALL string = "$all" ELEM_MATCH string = "$elemMatch" SIZE string = "$size" )
ARRAY
View Source
const ( BITS_ALL_CLEAR string = "$bitsAllClear" BITS_ALL_SET string = "$bitsAllSet" BITS_ANY_CLEAR string = "$bitsAnyClear" BITS_ANY_SET string = "$bitsAnySet" )
BITWISE
View Source
const ( CURRENT_DATE string = "$currentDate" INC string = "$inc" MIN string = "$min" MAX string = "$max" MUL string = "$mul" RENAME string = "$rename" SET string = "$set" SET_ON_INSERT string = "$setOnInsert" UNSET string = "$unset" )
FIELD
View Source
const ( ADD_TO_SET string = "$addToSet" POP string = "$pop" PULL string = "$pull" PUSH string = "$push" PULL_ALL string = "$pullAll" POSITION string = "$position" SORT string = "$sort" EACH string = "$each" )
ARRAY
View Source
const (
BIT string = "$bit"
)
BITWISE
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.