📄️ Increment
The Inc method can be chained to a query to increment the value of a field in the documents that match the query.
📄️ Decrement
The Dec method can be chained to a query to decrement the value of a field in the documents that match the query.
📄️ Multiply
The Mul method can be chained to a query to multiply the value of a field in the documents that match the query.
📄️ Divide
The Div method can be chained to a query to divide the value of a field in the documents that match the query.
📄️ Minimum
The Min method can be chained to a query to update the value of a field if the new value is less than the current value.
📄️ Maximum
The Max method can be chained to a query to update the value of a field if the new value is greater than the current value.
📄️ Current Date
The CurrentDate method can be chained to a query to set the value of a field to the current date and time.
📄️ Add To Set
The AddToSet method can be chained to a query to add a value to an array field in the documents that match the query but only if the value is not already in the array.
📄️ Pop
The Pop method can be chained to a query to remove the specified number of elements from the end of an array field in the documents that match the query.
📄️ Shift
The Shift method can be chained to a query to remove the first element from an array field in the documents that match the query.
📄️ Pull
The Pull method can be chained to a query to remove the specified element from an array field in the documents that match the query.
📄️ Pull All
The PullAll method can be chained to a query to remove the specified elements from an array field in the documents that match the query.
📄️ Push
The Push method can be chained to a query to add values to an array field in the documents that match the query.