Skip to content

Commit

Permalink
DOCSP-37056 eloquent relationships (#2747)
Browse files Browse the repository at this point in the history
* DOCSP-37056: Eloquent relationships
  • Loading branch information
Chris Cho authored Mar 25, 2024
1 parent 434d1b8 commit 2117c2c
Show file tree
Hide file tree
Showing 13 changed files with 914 additions and 3 deletions.
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

0 comments on commit 2117c2c

Please sign in to comment.