From the shell, you may embed API calls in choose statements. This lets you experiment with operations earlier than including them to calls out of your code. The shell allows you to construct collections, add gadgets, and experiment with CRUD operations. Different operations apply filters and assist queries, in addition to constructing indexes throughout a number of fields in a group. You’ll find a prolonged record of documented API capabilities 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 slightly on the skinny aspect and will do with extra examples. Nevertheless, DocumentDB is at present supposed for builders who need a substitute for MongoDB, one which’s obtainable with an open supply license slightly than a source-available license. For now, as there’s no SDK, you’ll have to construct your personal 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 massive ambition to ship a typical NoSQL API and engine, very similar to that developed for SQL. Microsoft has a number of expertise working in requirements our bodies, particularly constructing and delivering the important checks wanted to be sure that any implementation of the ensuing commonplace meets the mandatory necessities.