Skip to content

Commit 61b5cc7

Browse files
committed
MW PR fixes 1
1 parent c30b7c5 commit 61b5cc7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/eloquent-models/model-class.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -297,13 +297,13 @@ MongoDB.
297297
When you apply the ``DocumentModel`` trait to a model class, you must
298298
declare the following properties in your class:
299299

300-
- ``$primaryKey``: defines the field that uniquely identifies a MongoDB document.
301-
- ``$keyType``: defines the type of the primary key value.
300+
- ``$primaryKey``: Defines the field that uniquely identifies a MongoDB document
301+
- ``$keyType``: Defines the type of the primary key value
302302

303303
Extended Class Example
304304
~~~~~~~~~~~~~~~~~~~~~~
305305

306-
In this example, you create a ``Planet`` model class that extends the
306+
This example creates a ``Planet`` model class that extends the
307307
``CelestialBody`` class from a package called ``ThirdPartyPackage``. The
308308
``Post`` class includes the ``DocumentModel`` trait and defines
309309
properties including ``$primaryKey`` and ``$keyType``:

0 commit comments

Comments
 (0)