Examples: Querying JSON Documents

This section provides query examples using the OJAI API. The examples include querying by document ID, retrieving all documents in a store, selecting individual fields, specifying query conditions, and ordering your query result. For reference, the examples also include the equivalent HPE Ezmeral Data Fabric Database Shell (dbshell) commands.

If you hover over the right hand side of all code examples, you can use the icon to copy and paste the code.

You can also download the code examples from github at https://github.com/mapr-demos/ojai-examples.git.