Skip to content

docs: clarify Model::find() note for null argument#10072

Merged
paulbalandan merged 1 commit intocodeigniter4:developfrom
michalsn:docs/find
Mar 29, 2026
Merged

docs: clarify Model::find() note for null argument#10072
paulbalandan merged 1 commit intocodeigniter4:developfrom
michalsn:docs/find

Conversation

@michalsn
Copy link
Copy Markdown
Member

Description
This PR clarifies the user guide note for Model::find() to explicitly state that calling it without arguments or with null returns all rows.

Closes #10071

Checklist:

  • Securely signed commits
  • Component(s) with PHPDoc blocks, only if necessary or adds value (without duplication)
  • Unit testing, with >80% coverage
  • User guide updated
  • Conforms to style guide

@michalsn michalsn added the documentation Pull requests for documentation only label Mar 28, 2026
@github-actions github-actions bot removed the documentation Pull requests for documentation only label Mar 28, 2026
@michalsn michalsn added the documentation Pull requests for documentation only label Mar 28, 2026
@paulbalandan paulbalandan merged commit 02a3a79 into codeigniter4:develop Mar 29, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Pull requests for documentation only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: $ObJModel->find(null) returns an array containing all data from the table.

3 participants