Interact with Data
In this section, you can learn how to use Mongoid to interact with your MongoDB data.
Perform Data Operations: Learn how to create, read, update, and delete documents in a collection.
Specify a Query: Learn how to construct queries to match specific documents in a MongoDB collection.
Modify Query Results: Learn how to modify the way that Mongoid returns results from queries.
Transform Your Data with Aggregation: Learn how to transform your data by using MongoDB aggregation.
Search Text: Learn how to perform efficient searches on text fields.
Transactions and Sessions: Learn how to perform multi-document transactions to make atomic data changes.
Nested Attributes: Learn how to modify documents and their associations in a single operation.