We're so proud to release NoSQLBooster for MongoDB 6.1 today. This version includes official support for MongoDB 4.4, SQL exclude column, SQL UNION, Table view filter row along with some useful improvements and bugfix. For more information on MongoDB 4.4 , see Release Notes for MongoDB 4.4.
MongoDB 4.4 support
NoSQLBooster for MongoDB 6.1 upgrades the MongoDB Node.js driver to the latest 3.6 and embedded MongoDB Shell to 4.4, adding support for all the new mongo shell methods and aggregation operators of MongoDB 4.4.
Union All ($unionWith Stage) and New Aggregation Operators
MongoDB 4.4 adds the $unionWith aggregation stage, providing the ability to combines pipeline results from multiple collections into a single result set. NoSQLBooster 6.1 adds "unionWith" chain method to AggregationCursor and provide the appropriate code snippets and mouse hover information to support code completion. In addition to the enhanced chain method, NoSQLBooster also enhances SQL queries to support SQL UNION and UNION ALL.
1 | db.suppliers.aggregate() |
Equivalent to the following MongoShell script, but more concise, and easy to write, not to mention code completion.
1 | db.suppliers.aggregate([{ |
NoSQLBooster 6.1 also enhanced mouse hover for all new aggregation chain methods and aggregation Operators. In addition to method and type definitions, hover is now able to display document and example for these aggregation chained methods.
SQL Query Improvements
Exclude Columns in a SQL Query
NoSQLBooster6.1 extends the syntax of the SQL query. You can exclude the selected columns from the query results by adding a minus sign (eg. -_id) to the name of the columns. The MongoDB query implicitly returns the _id field, see the following example to exclude the _id column from the query result.
1 | SELECT number, concat(first_name,' ',last_name) as name, salary,-_id FROM employees |
1 | //javascript |
The result of the query is as follows, and the _ id field has been excluded
| number | name | salary |
|---|---|---|
| 1001 | John Smith | 62000 |
| 1002 | Jane Anderson | 57500 |





