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
By default, any passed value will be converted into Parameter objects internally. However, you must explicitly use Parameter while specifying array values: $select->where('id', 'in', new \Spiral\Database\Injection\Parameter([1,2,3]));"
The text was updated successfully, but these errors were encountered:
Why array so unique as we must manually wrap it to Parameter object and ORM can't do it automatically ?
As docs says:
"Using Parameters
By default, any passed value will be converted into Parameter objects internally. However, you must explicitly use Parameter while specifying array values:
$select->where('id', 'in', new \Spiral\Database\Injection\Parameter([1,2,3]));
"The text was updated successfully, but these errors were encountered: