Skip to content

Conversation

@rochamarcelo
Copy link
Contributor

No description provided.

Copy link
Member

@Arhell Arhell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@Arhell Arhell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


You can use the ``isEmpty()`` method on a Query or ResultSet object to see if it
has any rows in it. Calling ``isEmpty()`` on a Query object will evaluate the
You can use the ``isEmpty()`` method on a SelectQuery or ResultSet object to see if it
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't call isEmpty() on SelectQuery anymore as the proxying of resultset methods from the query class has been removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the reference to isEmpty, kept the one using ResultSet

@markstory markstory merged commit acbd249 into cakephp:5.x Jan 24, 2023
@markstory markstory added this to the 5.x milestone Jan 24, 2023
@rochamarcelo rochamarcelo deleted the patch-14 branch January 24, 2023 18:54
nmaya added a commit to nmaya/cakephp-docs that referenced this pull request Oct 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants