New in RavenDb Studio 1.2: Enhancements to querying
Welcome back to our tour of the new features in RavenDb Studio 1.2. Up for examination today is the Query page.
Remembering Recent Queries
Over on the RavenDb issue tracker, we were asked to “treat queries as first-class citizens”. I don’t know what other rights queries might demand, but one right we decided to give them was the right to be remembered. Enter the Recent Queries dropdown:
Every query you execute is remembered, and you can go back to a previous query just by clicking its entry in the list. As with most navigation buttons in the Studio, clicking with the Control key held down will open the query in a new window.
Up to 100 of your most recent queries are remembered for next time after you close your browser. Though if you should have been querying with some nefarious purpose, there’s always the “Clear History” button to cover your tracks.
If you have any queries that are especially near and dear to your heart, you can Pin them to make sure they always stay at the top of the list and don’t get swept away if the rest of the history is cleared.
Other Changes
Along with this, there are a number of smaller enhancements
- Sort By now works for dynamic queries when querying over a particular collection.
- Similarly, you now get Intellisense in the query editor for dynamic queries when you have limited the query to a specific collection. In other words, press Ctrl-Space in the query editor, and you can choose from a list of properties in documents in that collection.
- Sort By options are now remembered when you navigate back to a previous query.
- You can now choose the default operator used to combine clauses in your query .
- A Show Fields option has been added to help you understand what’s going on with your indexes. When pressed, the results view will show the fields in matching index entries, rather than the actual documents. In a similar vein, there’s a new Skip Transform button which shows up when an Index has a Transform stage defined. Pressing Skip Transform will show you the documents matching a query, rather than the results of the transform.
- For all you JSON-heads out there, the Query page shows you what url the client is calling to get the results from the server, and if you press the link button next to the url, you’ll see the raw JSON that the server sends back.
Comments
What is the eta for this bright and shiny object?
A couple of months
I'm sure it will only get brighter and shinier for the wait.
Looks like you guys have done some really awesome work on this. Can't wait...