mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-07 07:12:47 +08:00
改进Builder类的parseData方法
This commit is contained in:
@@ -118,8 +118,8 @@ abstract class Builder
|
|||||||
$result[$item] = $val;
|
$result[$item] = $val;
|
||||||
} else {
|
} else {
|
||||||
$key = str_replace('.', '_', $key);
|
$key = str_replace('.', '_', $key);
|
||||||
$this->query->bind('__data__' . $key, $val, isset($bind[$key]) ? $bind[$key] : PDO::PARAM_STR);
|
$this->query->bind('data__' . $key, $val, isset($bind[$key]) ? $bind[$key] : PDO::PARAM_STR);
|
||||||
$result[$item] = ':__data__' . $key;
|
$result[$item] = ':data__' . $key;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user