Skip to content
ejboy edited this page Mar 15, 2013 · 1 revision

Command should be supported using JSON based syntax, e.g.:

{
  $dbCommand : {create: 'mycollection'}
}

` Most update operations can be expressed in as commands.

Collection methods can be exposed in a similar manner:

{
  $collectionCommand : {collection: 'mycollection', insert: {}}
}

See http://docs.mongodb.org/manual/reference/command/

Clone this wiki locally