Company
Date Published
Author
Shelby Carpenter
Word count
392
Language
English
Hacker News points
None

Summary

Ruby has been added to the Export to Language feature in both Compass and the VS Code Extension for MongoDB, allowing developers to export queries/aggregations to their chosen programming language of choice. The feature was previously limited to four languages: Java, Node.js, C#, and Python, but now supports Ruby, expanding its reach to a broader range of developers. To use the new feature, users can connect to their cluster in VS Code or Compass, build a query/aggregation using the Query API, and export it to Ruby with just a few clicks. The exported code includes sample queries/aggregations and details on driver usage for easy integration into Ruby apps.