On this page
mapReduceand the corresponding
db.collection.mapReduce(). For more information, see Map-Reduce.
$functionaggregation operations that allows users to define custom aggregation expressions.
run on the server. For more information, see
.js files via a
mongosh Instance on the Server
.js) file to
to execute the file on the server. This is a good technique
for performing batch administrative work. When you run
mongosh on the server, connecting via the localhost
interface, the connection is fast with low latency.
Refer to the individual method or operator documentation for any concurrency information. See also the concurrency table.
- For a
mongodinstance by passing the
--noscriptingoption on the command line or setting