Query Playground
Learn more about DocumentDB’s rich querying over schema-free JSON data. DocumentDB is Microsoft’s NoSQL, JSON database for rapid development.
DocumentDB has a new Community Page! Have a project or an event related to DocumentDB? Tell us about it on the community page and we'll help promote it!
Syntax
Filtering
Order By
Top
Geospatial
Sandbox
Let’s familiarize ourselves with the classic SELECT, FROM and WHERE query. The FROM is optional and usually set to the current collection’s name. Try running the query below.
Confused about the schema? Click the Sample Docs pane to view an example document. Sample docs vary for each activity. To see a sample document with all properties, view Sample Docs in the Sandbox tab.
Query
Results
Sample Docs
Run it!
Welcome to the Query Playground’s feedback section! Please tell us your questions, comments and feedback, so we can improve the Query Playground.