I released a first Release Candidate (RC) of DocumentDB Studio (release 220.127.116.11).
DocumentDB Studio is to Azure DocumentDB what SQL Management Studio is to SQL Server and SQL Azure: a one-stop shop to manage and interact with your DocumentDB.
In this post I want to walk you through the new features of release 18.104.22.168:
- Load folders before they are selected
- Query collection documents
Load folders before they are selected
This is a simple user-experience feature.
DocumentDB Studio lazy loads folders. We found that lazy loading a bit in the way of usage so we went a little more eager. When you open a folder, we eager load each sub folder (but no their sub folders).
This gives a more fluid user experience.
Query collection documents
The key feature of this release: querying!
In order to query a collection of documents, simply click on a collection folder:
You can then write any queries. Once you wrote your query, you can either click the red exclamation mark on top of the query text box or press F5.
For details on how to query DocumentDB see this documentation.
Let’s get the telemetry out of the way. I want to be totally transparent here. Actually the code for telemetry, both client and server is on codeplex so if you’re into it, you can look it up.
We’ve added telemetry to the smart client in order to gather intelligence on the scenarios you are using it with in order to orient progress.
We did bend backward in order to keep those telemetries anonymous. Let’s look at an example of telemetry entry (yes they are logged in a DocumentDB collection!):
A UserID!? Yes, a user-id. This is a key to aggregate telemetry’s entries in order to be able to calculate variation across users.
This isn’t the real user-id. Actually, it is a one-way hash of the user login-name and domain-name. A one-way hash means we can’t extract back the original user-id. So you are not sending your user-id to our telemetry service.
Session-ID is simply a GUID generated when you launch the app.
The most important part of the telemetry is the feature counter. We count how many times you use different features. This is key to learn what features are used more often.
So no sensitive information (e.g. real user-id) disclosing, simple anonymous statistics.
If you want to learn more, don’t hesitate to ask question in the comments section.
Querying documents is the key feature of this release and really enable us to explore the Azure DocumentDB product.
Here are other articles I wrote about DocumentDB Studio:
- Managing Documents with DocumentDB Studio
- Managing Databases and Collections with DocumentDB Studio
- Creating an Azure DocumentDB account
- DocumentDB Studio first (beta) release
More logistic posts:
Also, here are a couple of posts around Azure DocumentDB itself:
- Azure DocumentDB: first use cases
- Digest: DocumentDB Resource Model and Concepts
- NoSQL implementation concepts
- Profile of MSN Health and Fitness on Azure DocumentDB
- In Azure DocumentDB, DocumentClient.CreateDocumentQuery doesn’t exists!