From the shell, you’ll be able to embed API calls in choose statements. This lets you experiment with operations earlier than including them to calls out of your code. The shell helps you to construct collections, add objects, and experiment with CRUD operations. Different operations apply filters and assist queries, in addition to constructing indexes throughout a number of fields in a set. You could find a prolonged listing of documented API features within the undertaking wiki, grouped into widespread units of operations.
For now, the GitHub wiki is the primary supply of documentation for DocumentDB. It’s a little bit on the skinny aspect and will do with extra examples. Nevertheless, DocumentDB is at the moment meant for builders who need a substitute for MongoDB, one which’s obtainable with an open supply license relatively than a source-available license. For now, as there’s no SDK, you’ll have to construct your individual calls to the API. These are based mostly on MongoDB, so porting purposes shouldn’t be too advanced.
Why this? Why now?
The reasoning behind the DocumentDB undertaking appears to be the large ambition to ship a regular NoSQL API and engine, very similar to that developed for SQL. Microsoft has loads of expertise working in requirements our bodies, particularly constructing and delivering the important exams wanted to be sure that any implementation of the ensuing normal meets the required necessities.