We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If an empty array is given to collector (in following example) you'll end up having malformed SQL.
$mc = new midgard_collector('someobject', 'active', true); $mc->add_constraint('id', 'IN', $empty_array_or_null); $mc->set_key_property('guid'); $mc->execute();
This should return empty resultset or throw an exception that empty array has been given for IN constraint. http://static.qaiku.com/dd8/6f6/ca4/dd86f6ca46bc11df83b0b7855095acc8acc8.gif
(copied from http://trac.midgard-project.org/ticket/1754)
The text was updated successfully, but these errors were encountered:
Return fail if condition build failed. Closed by ce4b9ba
Sorry, something went wrong.
Return fail if condition build failed. Fixes #22
ce4b9ba
No branches or pull requests
If an empty array is given to collector (in following example) you'll end up having malformed SQL.
This should return empty resultset or throw an exception that empty array has been given for IN constraint.
http://static.qaiku.com/dd8/6f6/ca4/dd86f6ca46bc11df83b0b7855095acc8acc8.gif
(copied from http://trac.midgard-project.org/ticket/1754)
The text was updated successfully, but these errors were encountered: