Documentation ¶
Index ¶
- type CmpType
- type Filter
- func All(filters ...Filter) Filter
- func And(filters ...Filter) Filter
- func Broadcast(next Filter) Filter
- func CmpFloat(value float64, cmp CmpType) Filter
- func CmpInt(value int64, cmp CmpType) Filter
- func ElemMatch(queries ...Filter) Filter
- func Equals(value any) Filter
- func ExactFieldMatch(fieldsSeen ...string) Filter
- func Exists() Filter
- func Index(i int, next Filter) Filter
- func Lookup(selector string, next Filter) Filter
- func Not(filter Filter) Filter
- func Or(filters ...Filter) Filter
- func ParseFilter(filter bson.D) (Filter, error)
- func Regex(regex_string string) (Filter, error)
- func Select(fieldName string, next Filter) Filter
- type Update
- func AddToSet(value any) (Update, error)
- func BroadcastUpdate(update Update) Update
- func IncInt(amount int64) Update
- func ParseUpdate(update bson.D) (Update, error)
- func PullMatches(filter Filter) (Update, error)
- func PushValue(value any) (Update, error)
- func SetValue(value any) (Update, error)
- func UnsetElement(index int) Update
- func UnsetField(fieldName string) Update
- func UnsetPath(selector string) Update
- func UpdateAll(updates []Update) Update
- func UpdateField(fieldName string, update Update, createIfAbsent bool) Update
- func UpdateIndex(index int, update Update, createIfAbsent bool) Update
- func UpdatePath(selector string, update Update) Update
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Filter ¶
func ExactFieldMatch ¶
type Update ¶
func BroadcastUpdate ¶
func PullMatches ¶
func UnsetElement ¶
func UnsetField ¶
func UpdatePath ¶
Click to show internal directories.
Click to hide internal directories.