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 faffb66 commit fd00783Copy full SHA for fd00783
docs/upgrade.txt
@@ -71,15 +71,15 @@ Version 5.x Breaking Changes
71
72
This library version introduces the following breaking changes:
73
74
-- The query builder returns results as as ``stdClass`` objects, instead
+- The query builder returns results as as ``stdClass`` objects instead
75
of as arrays. This change requires that you change array access to
76
property access when interacting with query results.
77
78
The following code shows how to retrieve a query result and access a
79
property from the result object in older versions compared to v5.0:
80
81
.. code-block:: php
82
- :emphasize-lines: 8
+ :emphasize-lines: 8-9
83
84
$document = DB::table('accounts')
85
->where('name', 'Anita Charles')
0 commit comments