File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -80,11 +80,11 @@ This library version introduces the following breaking changes:
80
80
documents.
81
81
82
82
- Removes support for the ``$collection`` property. The following code shows
83
- how to specify a MongoDB collection name in your User class in older versions
84
- compared to v5.0:
83
+ how to assign a MongoDB collection to a variable in your `` User`` class in
84
+ older versions compared to v5.0:
85
85
86
86
.. code-block:: php
87
- :emphasize-lines: 11-12
87
+ :emphasize-lines: 10-11
88
88
89
89
use MongoDB\Laravel\Eloquent\Model;
90
90
@@ -101,12 +101,12 @@ This library version introduces the following breaking changes:
101
101
...
102
102
}
103
103
104
- This release also updates the associated ``DB`` and ``Schema`` methods for
104
+ This release also modifies the associated ``DB`` and ``Schema`` methods for
105
105
accessing a MongoDB collection. The following code shows how to access the
106
106
``app_user`` collection in older versions compared to v5.0:
107
107
108
108
.. code-block:: php
109
- :emphasize-lines: 10-12
109
+ :emphasize-lines: 9-11
110
110
111
111
use Illuminate\Support\Facades\Schema;
112
112
use Illuminate\Support\Facades\DB;
You can’t perform that action at this time.
0 commit comments