作者 邓超

x

... ... @@ -152,7 +152,9 @@ function dbWhere(array $where, string $ar = 'and'):string{
foreach ($where as $f=>$v){
list($f,$t) = explode('.',$f.'.');
$f = '`'.str_replace('|','`.`',$f).'`';
if($f!=='_'){
$f = '`'.str_replace('|','`.`',$f).'`';
}
if(is_array($v)){
if($f ==='_'){
... ...