Docs Menu
Docs Home
/ /

MongoDB Ruby Driver

On this page

  • Introduction
  • Get Started
  • Databases and Collections
  • Configure Operations on Replica Sets
  • Transform Your Data with Aggregation
  • Specialized Data Formats
  • What's New
  • Upgrade Driver Versions
  • Compatibility
  • Developer Hub

Welcome to the documentation site for the MongoDB Ruby Driver, the official MongoDB driver for Ruby applications.

Learn how to install the driver, establish a connection to MongoDB, and begin working with data in the Get Started with the Ruby Driver tutorial.

Learn how to use the Ruby driver to work with MongoDB databases and collections in the Databases and Collections section.

Learn how to configure read and write operations on a replica set in the CRUD Operations on Replica Sets section.

Learn how to use the Ruby driver to perform aggregation operations in the Transform Your Data with Aggregation section.

Learn how to work with specialized data formats and custom types in the Data Formats section.

For a list of new features and changes in each version, see the What's New section.

Learn what changes you must make to your application to upgrade driver versions in the Upgrade Driver Versions section.

To learn about the versions of the MongoDB Server and the Ruby language that are compatible with each version of the Ruby driver, see the Compatibility section.

The Developer Hub provides tutorials and social engagement for developers.

To ask questions and engage in discussions with fellow developers who use the Ruby driver, see the forums page.

Next

Get Started