Replies: 3 comments
-
This is probably a bug in 4 that mangles occurrences of "not". Does the bug still occur if you don't specify the model in your nested |
Beta Was this translation helpful? Give feedback.
-
I'm having the issue too, not sure if you found a workaround, I created the issue #15741 with a simple test case. |
Beta Was this translation helpful? Give feedback.
-
I've found a workaround for this, using square brackets to escape this field names, i.e.: ->andWhere('PhalconRest\Models\Notes.[note_type] = :note_type:'); |
Beta Was this translation helpful? Give feedback.
-
Example query:
This query was working on Phalcon 3.4.4 (php 7.3)
When upgrading to Phalcon 4.1.2 (php 7.4), I get this error:
This seems to happen with all PHQL queries where there is an identifier starting with "not" (case insensitive).
Why??
Beta Was this translation helpful? Give feedback.
All reactions