SELECT field1, field2, field3 FROM DB.TABLE WHERE field1 in ('a','b')
But I only get the result for a and not for b
And if I do this;
$dbResults = ConnectionManager::get('webconsult')
->execute("SELECT field1, field2, field3 FROM DB.TABLE WHERE field1 in ('a','b')")
->fetchAll('assoc');
I get the 2 resutls.
I try the same with a other table on mysql and the first syntax work
I missing something?
I using Cakephp 3.2.0-RC1 and this work on prev version
With this request;
This request generate this sql request:
But I only get the result for a and not for b
And if I do this;
I get the 2 resutls. I try the same with a other table on mysql and the first syntax work
I missing something?
I using Cakephp 3.2.0-RC1 and this work on prev version