Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
rustagir committed Sep 9, 2024
1 parent faffb66 commit fd00783
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/upgrade.txt
Original file line number Diff line number Diff line change
Expand Up @@ -71,15 +71,15 @@ Version 5.x Breaking Changes

This library version introduces the following breaking changes:

- The query builder returns results as as ``stdClass`` objects, instead
- The query builder returns results as as ``stdClass`` objects instead
of as arrays. This change requires that you change array access to
property access when interacting with query results.

The following code shows how to retrieve a query result and access a
property from the result object in older versions compared to v5.0:

.. code-block:: php
:emphasize-lines: 8
:emphasize-lines: 8-9

$document = DB::table('accounts')
->where('name', 'Anita Charles')
Expand Down

0 comments on commit fd00783

Please sign in to comment.