This is a
mongosh method. This is not the
Node.js or other programming language specific
For the legacy
mongo shell documentation, refer to the
documentation for the corresponding MongoDB Server release:
For MongoDB API drivers, refer to the language specific MongoDB driver documentation.