Other
This page lists operators and functions that do not belong to other categories.
-
$binarySize
$binarySize
is a MongoDB aggregation operator that is used to get the number of bytes of binary data fields. -
$bsonSize
The$bsonSize
operator is used to compute the BSON size of a document, which returns the number of bytes in the BSON document. -
$literal
$literal
is an aggregation pipeline operator in MongoDB that can be used to return a literal value from a document. -
$mergeObjects
$mergeObjects
is an operator in MongoDB that merges multiple documents into one. -
$orderBy
$orderBy
is an aggregation operator in MongoDB, used to sort the query results. -
$sample
$sample
operator is an aggregation pipeline operator in MongoDB, which randomly selects a specified number of documents as output. -
$sampleRate
The MongoDB$sampleRate
operator is used to randomly sample documents from a collection and return a certain percentage of documents. -
Object.bsonSize()
In MongoDB,Object.bsonSize()
is a method used to calculate the size of BSON objects.