mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-06 07:02:47 +08:00
Model类增加静态更新方法 update
This commit is contained in:
@@ -1324,6 +1324,7 @@ abstract class Driver
|
||||
return [];
|
||||
}
|
||||
$fields = array_keys($bind);
|
||||
$result = [];
|
||||
foreach ($data as $key => $val) {
|
||||
if (!in_array($key, $fields, true)) {
|
||||
if ($this->config['fields_strict']) {
|
||||
|
||||
Reference in New Issue
Block a user