Skip to content

Document query condition predicates for CakePHP 6 - #8387

Merged
LordSimal merged 1 commit into
6.xfrom
docs/query-condition-predicates
Nov 9, 2026
Merged

LordSimal merged 1 commit into
6.xfrom
docs/query-condition-predicates

Conversation

@josbeir

@josbeir josbeir commented Nov 9, 2026

Copy link
Copy Markdown
Contributor

Adds docs for the predicate functions introduced in cakephp/cakephp#19736, explains how to migrate existing conditions, and updates the English examples.

@josbeir
josbeir requested a review from LordSimal November 9, 2026 18:24
@LordSimal
LordSimal merged commit a045505 into 6.x Nov 9, 2026
3 checks passed
@LordSimal
LordSimal deleted the docs/query-condition-predicates branch November 9, 2026 18:30
@markstory markstory added this to the 6.x milestone Nov 10, 2026
Comment on lines +141 to +142
- Operators in condition-array keys, such as `['views >' => 1000]` or
`['id IN' => $ids]`, are no longer supported and raise an

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is going to be a very rough upgrade. I don't think this is a good idea.

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.

3 participants