mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
@@ -483,7 +483,7 @@ abstract class Connection
|
|||||||
if (PDO::PARAM_STR == $type) {
|
if (PDO::PARAM_STR == $type) {
|
||||||
$value = $this->quote($value);
|
$value = $this->quote($value);
|
||||||
} elseif (PDO::PARAM_INT == $type) {
|
} elseif (PDO::PARAM_INT == $type) {
|
||||||
$value = (float) $value;
|
$value = sprintf("%d", $value);
|
||||||
}
|
}
|
||||||
// 判断占位符
|
// 判断占位符
|
||||||
$sql = is_numeric($key) ?
|
$sql = is_numeric($key) ?
|
||||||
|
|||||||
Reference in New Issue
Block a user