...
|
...
|
@@ -189,7 +189,7 @@ function dbWhere(array $where, string $ar = 'and'):string{ |
|
|
|
|
|
}elseif (count($v) > 1){
|
|
|
if($t == 'between'){
|
|
|
$sql[] = "{$f} between '{$v[0]}' and '{$v[1]}'";
|
|
|
$sql[] = "{$f} between {$v[0]} and {$v[1]}";
|
|
|
}else
|
|
|
$sql[] = "{$f} ".($t=='notin'?'not in':($t?:'in'))." (".implode(',',$v).")";
|
|
|
}
|
...
|
...
|
|