Need an easy way to build update queries
Update queries are so hard to build, an easy way to build update queries via GUI would be beneficial.
This is now integrated into the Collection View and update queries are pre-populated based on your current selection.
-
Matthew commented
While currently we set a field in all documents matching the current find query, it would be great to be able to use update operators such as $inc, $mul, $pop, and $addToSet directly from the GUI.
-
Anonymous commented
One option could be - one click transfer whole formatted query to intelliShell, where you can easily transform it to update/aggregate/remove operation, or add some .forEach things
-
Anonymous commented
When you edit a value in the collection panel (Cmd-E) it currently provides the "Overwrite field in all documents" option. When the view is filtered, why not provide the alternate option to overwrite only on the filtered set of documents (with the count to confirm that it's what you expect)? That's the behavior I expected the first (and each) time I did that. No need for an update-specific query view or anything like that, you already have everything in place.