Other
This page lists operators and functions that do not belong to other categories.
-
$binarySize
$binarySizeis a MongoDB aggregation operator that is used to get the number of bytes of binary data fields. -
$bsonSize
The$bsonSizeoperator is used to compute the BSON size of a document, which returns the number of bytes in the BSON document. -
$literal
$literalis an aggregation pipeline operator in MongoDB that can be used to return a literal value from a document. -
$mergeObjects
$mergeObjectsis an operator in MongoDB that merges multiple documents into one. -
$orderBy
$orderByis an aggregation operator in MongoDB, used to sort the query results. -
$sample
$sampleoperator is an aggregation pipeline operator in MongoDB, which randomly selects a specified number of documents as output. -
$sampleRate
The MongoDB$sampleRateoperator 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.