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
Hi,
When I write something like that :
$db ->select() ->columns(['col1' => 'C1', 'col2' => 'C2']) ->from('table') ->where(new Grouping('AND', ...[ new Conditional('C2', 'BETWEEN', ['2022-01-01', '2022-12-31']), new Conditional('C1', '=', 'OK'), ]));
the "between" clause is writing like that :
C2 BETWEEN ('2022-01-01' AND '2022-12-31') AND C1 = 'OK'
It's not working like expected because : https://dba.stackexchange.com/a/251542
(And I cannot passing array like second argument in Grouping, php raise an Exception. The doc seem to say "it's okay with an array")
For informations, i use php 7.2 and mariadb 10.3.
Thanks !
The text was updated successfully, but these errors were encountered:
Really? How bizarre. I need to look into this a little further but I will try to get this fixed next week.
Thanks for reporting!
Sorry, something went wrong.
kwhat
No branches or pull requests
Hi,
When I write something like that :
the "between" clause is writing like that :
It's not working like expected because : https://dba.stackexchange.com/a/251542
(And I cannot passing array like second argument in Grouping, php raise an Exception. The doc seem to say "it's okay with an array")
For informations, i use php 7.2 and mariadb 10.3.
Thanks !
The text was updated successfully, but these errors were encountered: