数据库查询的数据集类型设置改为字符串

This commit is contained in:
thinkphp
2016-06-14 14:06:40 +08:00
parent fb188291d5
commit c9155c016d
2 changed files with 3 additions and 11 deletions

View File

@@ -39,12 +39,6 @@ use think\db\Query;
*/
class Db
{
// 数组数据集
const RESULTSET_ARRAY = 1;
// 对象数据集
const RESULTSET_COLLECTION = 2;
// 自定义对象数据集
const RESULTSET_CLASS = 3;
// 数据库连接实例
private static $instance = [];
// 查询次数