Skip to content

Commit 39c0fd0

Browse files
author
Chris Cho
committed
PRR fixes
1 parent f4afab6 commit 39c0fd0

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

docs/eloquent-models.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ Eloquent Models
1313

1414
Eloquent models are part of the Laravel Eloquent object-relational
1515
mapping (ORM) framework that enable you to work with a database by using
16-
model classes. The {+odm-short+} extends this framework to use similar
16+
model classes. {+odm-short+} extends this framework to use similar
1717
syntax to work with MongoDB as a database.
1818

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

2222
- :ref:`laravel-schema-builder` shows how to manage indexes on your MongoDB
23-
collections
23+
collections by using Laravel migrations
2424

2525
.. toctree::
2626

docs/eloquent-models/schema-builder.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ in {+odm-short+} and show examples of how to use them:
3939

4040
.. note::
4141

42-
{+odm-short+} supports managing indexes and collection, but
42+
{+odm-short+} supports managing indexes and collections, but
4343
excludes support for MongoDB JSON schemas for data validation. To learn
4444
more about JSON schema validation, see :manual:`Schema Validation </core/schema-validation/>`
45-
in the MongoDB server manual.
45+
in the {+server-docs-name+}.
4646

4747
.. _laravel-eloquent-migrations:
4848

@@ -131,12 +131,12 @@ Manage Indexes
131131
--------------
132132

133133
MongoDB indexes are data structures that improve query efficiency by reducing
134-
the number of documents needed to retrieve query results. Indexes such as
135-
geospatial indexes extend how you can query the data.
134+
the number of documents needed to retrieve query results. Certain indexes, such
135+
as geospatial indexes, extend how you can query the data.
136136

137137
To improve query performance by using an index, make sure the index covers
138138
the query. To learn more about indexes and query optimization, see the
139-
following MongoDB server manual entries:
139+
following {+server-docs-name+} entries:
140140

141141
- :manual:`Indexes </indexes>`
142142
- :manual:`Query Optimization </core/query-optimization/>`
@@ -194,8 +194,8 @@ Specify Index Options
194194
~~~~~~~~~~~~~~~~~~~~~
195195

196196
MongoDB index options determine how the indexes are used and stored.
197-
You can specify index options when calling an index creation method such
198-
as ``index()`` on a ``Blueprint`` instance.
197+
You can specify index options when calling an index creation method, such
198+
as ``index()``, on a ``Blueprint`` instance.
199199

200200
The following migration code shows how to add a collation to an index as an
201201
index option. Click the :guilabel:`VIEW OUTPUT` button to see the indexes
@@ -236,7 +236,7 @@ field:
236236
]
237237

238238
To learn more about index options, see :manual:`Options for All Index Types </reference/method/db.collection.createIndex/#options-for-all-index-types>`
239-
in the MongoDB server manual.
239+
in the {+server-docs-name+}.
240240

241241
Create Sparse, TTL, and Unique Indexes
242242
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -256,7 +256,7 @@ method with a ``MongoDB\Laravel\Schema\Blueprint`` parameter. Call the
256256
appropriate helper method on the ``Blueprint`` instance and pass the
257257
index creation details.
258258

259-
The following migration code shows how to create a sparse and TTL index
259+
The following migration code shows how to create a sparse and a TTL index
260260
by using the index helpers. Click the :guilabel:`VIEW OUTPUT` button to see
261261
the indexes created by running the migration, including the default index on
262262
the ``_id`` field:
@@ -317,7 +317,7 @@ field:
317317
]
318318

319319
To learn more about these indexes, see :manual:`Index Properties </core/indexes/index-properties/>`
320-
in the MongoDB server manual.
320+
in the {+server-docs-name+}.
321321

322322
Create a Geospatial Index
323323
~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -360,7 +360,7 @@ default index on the ``_id`` field:
360360

361361
To learn more about geospatial indexes, see
362362
:manual:`Geospatial Indexes </core/indexes/index-types/index-geospatial/>` in
363-
the MongoDB Server manual.
363+
the {+server-docs-name+}.
364364

365365
Drop an Index
366366
~~~~~~~~~~~~~

0 commit comments

Comments
 (0)