Skip to main content

02 - Using Operations

See all the available operations under document_operation.

Combined find and update

  • Send a HTTP POST with a JSON payload eg. {"name": "something"} to mongodb/find to find a document with a matching name.
  • Send a HTTP POST with a JSON payload eg. {"name": "something", "status": false} to mongodb/update to find a document with a matching name and update the status value accordingly.
MongoDB Find and update
loading...

Find Operation

Send a HTTP POST with a JSON payload eg. {"name": "someValue"} to find a document with name called test.

MongoDB Find and update
loading...

Aggregate Operation

Example to send a HTTP POST with a JSON payload eg. {"starts_with": "test"} to find documents using regex and limiting the result set to 30.

MongoDB Find and update
loading...