MongoDB is a free and open-source cross-platform document-oriented database program. Classified as a NoSQL database program, MongoDB uses JSON-like documents with schemas.

The official MongoDB documentation is useful here.

Inserting Documents

Documents can be inserted using the Insert operation. You can then create document objects as shown here. Note that you can use Tray's lists and objects to create documents with more complex structure.


The MongoDB connector has several "find" operations. These require the user to create a Search Query.

Here is an example of the construction of a Search Query object:

In the above example we create an object called age and add two properties to it with the names of MongoDB query operators. Using Tray objects like this you can create the necessary query object.

You can also search in a simpler way by using values rather than objects as shown here:

Last updated 11th January 2018