File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -195,8 +195,8 @@ the value of the ``title`` field is ``"Back to the Future"``:
195
195
196
196
You can use the ``id`` alias in your queries to represent the
197
197
``_id`` field in MongoDB documents, as shown in the preceding
198
- code. When you run a find operation using the query builder, {+odm-short+}
199
- automatically converts between ``id`` and ``_id``. In query results
198
+ code. When you run a find operation using the query builder, the {+odm-short+}
199
+ automatically converts between ``id`` and ``_id``. In query results,
200
200
the ``_id`` field is renamed to ``id``. This provides better
201
201
compatibility with Laravel, as the framework assumes that each record has a
202
202
primary key named ``id`` by default.
You can’t perform that action at this time.
0 commit comments