We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5f1ceeb commit 99b4f4eCopy full SHA for 99b4f4e
docs/upgrade.txt
@@ -74,6 +74,11 @@ This library version introduces the following breaking changes:
74
- In query results, the library converts BSON ``UTCDateTime`` objects to ``Carbon``
75
date classes, applying the default timezone.
76
77
+- ``id`` is an alias for the ``_id`` field in MongoDB documents, and the library
78
+ automatically converts between ``id`` and ``_id`` when querying data. Because
79
+ of this behavior, you cannot have two separate ``id`` and ``_id`` fields in your
80
+ documents.
81
+
82
.. _laravel-breaking-changes-v4.x:
83
84
Version 4.x Breaking Changes
0 commit comments