This commit is contained in:
as2252258@163.com
2021-02-28 00:54:01 +08:00
parent b99eac8748
commit 7d8a82615f
+4
View File
@@ -122,6 +122,10 @@ trait Builder
$_tmp = [];
if (empty($where)) return '';
if (is_string($where)) return $where;
var_dump($where);
foreach ($where as $key => $value) {
if (is_string($value) || is_string($key)) {
$_value = is_string($key) ? sprintf('%s=\'%s\'', $key, $value) : $value;