Skip to content

DOCSP-37056 eloquent relationships #2747

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions docs/eloquent-models.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,23 @@ Eloquent Models
:keywords: php framework, odm

Eloquent models are part of the Laravel Eloquent object-relational
mapping (ORM) framework that enable you to work with a database by using
model classes. {+odm-short+} extends this framework to use similar
syntax to work with MongoDB as a database.
mapping (ORM) framework, which lets you to work with data in a relational
database by using model classes and Eloquent syntax. {+odm-short+} extends
this framework so that you can use Eloquent syntax to work with data in a
MongoDB database.

This section contains guidance on how to use Eloquent models in
{+odm-short+} to work with MongoDB in the following ways:

- :ref:`laravel-eloquent-model-class` shows how to define models and customize
their behavior
- :ref:`laravel-eloquent-model-relationships` shows how to define relationships
between models
- :ref:`laravel-schema-builder` shows how to manage indexes on your MongoDB
collections by using Laravel migrations

.. toctree::

/eloquent-models/model-class/
Relationships </eloquent-models/relationships>
Schema Builder </eloquent-models/schema-builder>
Loading