Execute commands

The commands are divided into two sub-types. Those that operate directly on the selected database, and those that operate on a collection of the selected database. For more information, see:

Generally the commands follow the structure of commands in the MongoDB shell. However, there are some cases where extra input and output options are limited. Commands may accept arguments of

  • STRING (double or single qoutes)

  • BSON (less restrictive JSON)

  • [ BSON, ...] (a collection of BSON).

Last updated

Was this helpful?