Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Phalcon find null support #5179

Merged
merged 3 commits into from
Sep 20, 2018

Conversation

arjanwestdorp
Copy link
Contributor

This PR introduces support for finding null fields when using findRecord. When you currently want to search for a record where a certain field has a null value it will fail.

Another things this PR fixes is the usage of bind parameters (introduced in #5158). This was giving a Wrong number of parameters exception because the properties were not wrapped in an array, so only the 'conditions' were passed into the findFirst() instead of an array containing both conditions and parameters.

Copy link
Member

@Naktibalda Naktibalda left a comment

Choose a reason for hiding this comment

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

Looks good to me.

@DavertMik DavertMik merged commit 67352bf into Codeception:2.4 Sep 20, 2018
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