You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Parameters: [1,2,3,4]. The issue is that PDO does not support array parameters like this one, so I suggest to enhance the Latitude\QueryBuilder\Partial\Parameter class to handle field('bar')->in([1,2,3,4]) properly. It could be done like so:
Hi! Many thanks for the library.
Example query:
Generated SQL is:
Parameters:
[1,2,3,4]
. The issue is that PDO does not support array parameters like this one, so I suggest to enhance theLatitude\QueryBuilder\Partial\Parameter
class to handlefield('bar')->in([1,2,3,4])
properly. It could be done like so:As of now I had to write some functions and classes to override the ‘invalid’ behaviour:
I can't say if the change could break backward compatibility but it would be nice to have parameters binding fixed.
I can submit PR if you like.
The text was updated successfully, but these errors were encountered: