have an easy way to get a javascript version of the query generated by Query Builder
so I can copy the complex query I've built through the GUI into a script in a different program than MongoChef
Implemented in 3.2.4
-
Luc Dubrois commented
This could be nice to have also the javascript for each operation done via the GUI (add index, edit document, ...) like in 'SQL Management Studio'. On each Dialog, you have a "Generate Script" button.
-
Cary commented
This is close to the idea I wanted to suggest - copy the query from the querybuilder into intellishell. That would also allow copying it to other tools as well.
-
xodrow commented
A code snippet for mongoose would be perfect...
-
Plamen Parvanov commented
Also useful to add hint index or use in shell for map reduce.
-
Chris commented
Having a "raw" query view would be awesome!
-
Michael Wills commented
Would enabling a query log to get the generated query be an option here?
-
Michael Wills commented
I was just going to recommend this… :)