On this page
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.
expressions and from MozJS-60 to MozJS-91. Several deprecated,
non-standard array and string functions that existed in MozJS-60 are
removed in MozJS-91.
For the complete list of removed array and string functions, see the 6.0 compatibility notes.