fix buildInCondition [fixed #1]
This commit is contained in:
parent
30c38fa3a4
commit
e6bac2988d
|
@ -285,7 +285,7 @@ class Query extends Component implements QueryInterface
|
||||||
list($column, $values) = $operands;
|
list($column, $values) = $operands;
|
||||||
|
|
||||||
if ($values === [] || $column === []) {
|
if ($values === [] || $column === []) {
|
||||||
return $operator === 'IN' ? '0=1' : '';
|
return $operator === 'IN' ? '0==1' : '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($values instanceof Query) {
|
if ($values instanceof Query) {
|
||||||
|
|
Loading…
Reference in New Issue