Skip to content

Commit 2117c2c

Browse files
author
Chris Cho
authored
DOCSP-37056 eloquent relationships (#2747)
* DOCSP-37056: Eloquent relationships
1 parent 434d1b8 commit 2117c2c

File tree

13 files changed

+914
-3
lines changed

13 files changed

+914
-3
lines changed

docs/eloquent-models.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,23 @@ Eloquent Models
1212
:keywords: php framework, odm
1313

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

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

2223
- :ref:`laravel-eloquent-model-class` shows how to define models and customize
2324
their behavior
25+
- :ref:`laravel-eloquent-model-relationships` shows how to define relationships
26+
between models
2427
- :ref:`laravel-schema-builder` shows how to manage indexes on your MongoDB
2528
collections by using Laravel migrations
2629

2730
.. toctree::
2831

2932
/eloquent-models/model-class/
33+
Relationships </eloquent-models/relationships>
3034
Schema Builder </eloquent-models/schema-builder>

0 commit comments

Comments
 (0)