mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 12:42:48 +08:00
修复查询bigint时自动转为科学计数的BUG
This commit is contained in:
@@ -483,7 +483,7 @@ abstract class Connection
|
||||
if (PDO::PARAM_STR == $type) {
|
||||
$value = $this->quote($value);
|
||||
} elseif (PDO::PARAM_INT == $type) {
|
||||
$value = (float) $value;
|
||||
$value = sprintf("%d", $value);
|
||||
}
|
||||
// 判断占位符
|
||||
$sql = is_numeric($key) ?
|
||||
|
||||
Reference in New Issue
Block a user