![]() If, for example, you built an aggregation pipeline against a staging database and saved it, you’d still have to build that same pipeline again if you wanted to use it for your production database. Previously, saved aggregations and queries were bound to a specific database and collection, making it harder to integrate those saved queries and aggregations into the standard software-development lifecycle. Users want to come back again and again to their best queries - or make a query repeatedly available to all database users - but the experience of working with saved queries and aggregations has created some challenges for users in the past. You just connect to your cluster, navigate to your chosen database and collection, and start building your queries. As an easy-to-use GUI, Compass lets you seamlessly connect to and interact with your data, including using our powerful Query API. Tens of thousands of MongoDB users take advantage of MongoDB Compass to query their data and build sophisticated aggregation pipelines. ![]() ![]() Improved Experience for Saved Aggregations and Queries in MongoDB Compass From there, you will see a lightbulb icon that gives you the option to export to Ruby, among other languages. To build a query/aggregation in VS Code and export to Ruby, connect to your cluster in VS Code, create a Playground with code that draws on the Query API, and highlight your Query API syntax. To this end, we’re pleased to announce that the Export to Language features in both Compass and the VS Code Extension for MongoDB now support exporting to Ruby. Those four languages cover a significant percentage of the MongoDB developer community, but we knew we wanted to expand to help even more developers export queries/aggregations to their programming language of choice. The only limitation? Until now, only four languages have been supported for this feature in both tools: Java, Node.js, C#, and Python. With both Compass and the official MongoDB Extension for VS Code, you can build a query or aggregation using the MongoDB Query API and export it to your chosen programming language. Thousands of developers rely on Compass as a GUI or VS Code as an integrated development environment to query their data in MongoDB.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |