Want to export the results of your query? You can do it using the MongoDB $out operator.
By using the Aggregation Editor and an $out operator, you can export results from Studio 3T into a new collection. All you need to do is:
• Create a query in Studio 3T via #SQL, the #Aggregation Editor, the IntelliShell, or Visual Query Builder (I use the Visual Query Builder)
• Copy your query into the first stage of the Aggregation Editor.
• Add a second stage in the Aggregation Editor and give a name to the "output-collection"
• Refresh your database
• Right click your new collection and begin to export your query's results (formats include: to another collection, a mongodump, or as SQL, CSV, and JSON files).
Go more in-depth with the $out operator here: https://studio3t.com/knowledge-base/a...
------------------------------------------------------------------------------------------------------------
New to to the world of #NoSQL and #MongoDB? Studio 3T is the professional #GUI for MongoDB. With its Visual Query Builder, Aggregation Editor, Query Code Translation, and more— Studio 3T makes NoSQL a breeze.
Download now! https://studio3t.com/download/
Subscribe to our social media pages:
YouTube: / @studio3t
Twitter: / studio3t
Facebook: / studio3t
LinkedIn: / 3t-software-labs-gmbh