So happy to release MongoBooster 3.3 today. This version includes a few useful shell script extensions (cursor.getShellScript, cursor.saveAsView...) along with some useful minor improvements and bugfix.
shell script extensions
1. cursor.getShellScript()
Cursor.getShellScript() method return the MongoDB find shell script produced by the MongoBooster Fluent Query Builder.
For example:
Run the following Fluent query script in MongoBooster:
1 | db.user.where('age').gte(18).lte(65) |
We got the following MongoDB shell find script
1 | db.user.find({ |
Run the following aggregate Fluent Query script in MongoBooster:
1 | db.companies.aggregate(qb.where('founded_year').gte(2000).lte(2010)) |
2. cursor.saveAsView()
Cursor.saveAsView() save find/aggregate cursor as a MongoDB readonly view. The method requires MongoDB 3.4 and above.
1 | db.user.where('age').gte(18).lte(65) |
3. cursor.getAggregationPipeline()
Cursor.getAggregationPipeline() return the aggregation pipeline produced by the MongoBooster Fluent Query Builder..
1 | db.user.where('age').gte(18).lte(65) |
Minor UI Improvements
1. Aggregation ...
This version added a new handy "aggregate..." collection action to generate fluent aggregate template script.
2. Update View ...
This version also added a new handy "Update View..." view action to drop and recreate MongoDB view.
Minor Improvements & Bugfix
New, add "Copy Key/JSON Path(s) to Clipboard" item to the context-menu of tree/grid view. This action will return the full JSON path of the selected item. e.g. "object.array[0].subObj.field"
Fixed, Property 'xxx' does not exist on type '{}' warning.
Fixed, typings for ISODate constructor.
Fixed, Replica Set connection error with Kerberos
Improved, add more display page size options [5, 10, 20, 50, 100, 200, 500, 1000, 2000]
Improved, resize app icon (the app icon on macOS is too large)
Thank you!
Please visit our feedback page or click the “Feedback” button in the app. Feel free to suggest improvements to our product or service. Users can discuss your suggestion and vote for and against it. We’ll look at it too.