Skip to content

Commit

Permalink
Add isEmpty() method to the Extra Lazy functions
Browse files Browse the repository at this point in the history
It was added a long tiem ago (see #912) but the `isEmpty()` function also does not trigger a full collection load.
  • Loading branch information
acasademont authored Nov 13, 2024
1 parent 4b03ec7 commit 0892a9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/en/tutorials/extra-lazy-associations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ can be called without triggering a full load of the collection:
- ``Collection#count()``
- ``Collection#get($key)``
- ``Collection#slice($offset, $length = null)``
- ``Collection#isEmpty()``

For each of the above methods the following semantics apply:

Expand Down

0 comments on commit 0892a9c

Please sign in to comment.