From 09a7b91fefdeee15010cf4fdbf454d333abf8278 Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 14 Jun 2016 14:49:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3Connection=E7=B1=BB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/db/Connection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/db/Connection.php b/library/think/db/Connection.php index f927acd0..aa8e221c 100644 --- a/library/think/db/Connection.php +++ b/library/think/db/Connection.php @@ -94,7 +94,7 @@ abstract class Connection // 是否严格检查字段是否存在 'fields_strict' => true, // 数据集返回类型 - 'resultset_type' => Db::RESULTSET_ARRAY, + 'resultset_type' => 'array', // 自动写入时间戳字段 'auto_timestamp' => false, // 是否需要进行SQL性能分析