Versions in this module Expand all Collapse all v1 v1.0.0 Dec 16, 2024 Changes in this version + const RegexpOptionCaseInsensitivity + const RegexpOptionExtended + const RegexpOptionMatchAll + const RegexpOptionMultiline + type ArrayField string + func (f ArrayField) ArrayContainsAll(val ...any) Expression + func (f ArrayField) ArrayContainsElement(queries ...QueryOperator) Expression + func (f ArrayField) ArrayContainsElementMatchesExpression(expressions ...Expression) Expression + func (f ArrayField) ArrayContainsExact(val ...any) Expression + func (f ArrayField) ArraySize(size int) Expression + type Expression struct + func (e Expression) And(e2 ...Expression) Expression + func (e Expression) MarshalBSON() ([]byte, error) + func (e Expression) Or(e2 ...Expression) Expression + func (e Expression) String() string + type Field string + func (f Field) CurrentDate() UpdateExpression + func (f Field) Equals(value any) Expression + func (f Field) Exists() Expression + func (f Field) GreaterThan(value any) Expression + func (f Field) GreaterThanOrEquals(value any) Expression + func (f Field) Gt(value any) Expression + func (f Field) Gte(value any) Expression + func (f Field) In(value ...any) Expression + func (f Field) Inc(value any) UpdateExpression + func (f Field) LessThan(value any) Expression + func (f Field) LessThanOrEqual(value any) Expression + func (f Field) Lt(value any) Expression + func (f Field) Lte(value any) Expression + func (f Field) Max(value any) UpdateExpression + func (f Field) Min(value any) UpdateExpression + func (f Field) Mul(value any) UpdateExpression + func (f Field) Ne(value any) Expression + func (f Field) NotEquals(value any) Expression + func (f Field) NotExists() Expression + func (f Field) NotIn(value ...any) Expression + func (f Field) Regex(val string, opts ...RegexpOption) Expression + func (f Field) Rename(value Field) UpdateExpression + func (f Field) Set(value any) UpdateExpression + func (f Field) Unset() UpdateExpression + type LogicalOperator struct + type QueryOperator struct + func All(val ...any) QueryOperator + func Equals(value any) QueryOperator + func Exists() QueryOperator + func Gt(value any) QueryOperator + func Gte(value any) QueryOperator + func In(value ...any) QueryOperator + func Lt(value any) QueryOperator + func Lte(value any) QueryOperator + func Ne(value any) QueryOperator + func NotExists() QueryOperator + func NotIn(value ...any) QueryOperator + func Regex(val string) QueryOperator + func Size(size int) QueryOperator + type RegexpOption string + type UpdateExpression struct + func (ue UpdateExpression) And(ue2 ...UpdateExpression) UpdateExpression + func (ue UpdateExpression) MarshalBSON() ([]byte, error) + func (ue UpdateExpression) String() string + type UpdateOperator struct