Commit Graph

128 Commits

Author SHA1 Message Date
thinkphp
438330a4b2 改进Query类delete方法参数默认值为null 当参数为true的时候 表示强制删除数据 2016-06-28 19:07:33 +08:00
thinkphp
93882f4c8f 修正Query类的query和execute方法参数 去掉fetch参数 2016-06-28 18:52:56 +08:00
thinkphp
9ca4911c44 改进关联预载入查询 两个相同模型查询的问题 2016-06-27 23:29:33 +08:00
thinkphp
850376dfe7 改进Query类的find和select方法的默认值 2016-06-21 10:58:19 +08:00
thinkphp
c4669f142d Merge branch 'master' of https://github.com/top-think/framework 2016-06-21 10:33:25 +08:00
thinkphp
7627811cf5 修正query类的find方法 2016-06-21 10:32:56 +08:00
thinkphp
948d0ea0bb 改进驱动命名空间检测 2016-06-21 00:01:31 +08:00
thinkphp
a032828d5c 注释规范 2016-06-20 17:34:54 +08:00
thinkphp
1e6cd85c04 修正Query类的gettableinfo方法 2016-06-20 10:56:30 +08:00
thinkphp
bfddad2a61 修正 2016-06-18 23:52:22 +08:00
thinkphp
30cec3abb1 取消驱动配置的namespace参数 2016-06-18 23:42:16 +08:00
thinkphp
20eaa4f5b8 修正Cookie类的has方法 2016-06-18 23:10:40 +08:00
thinkphp
933a61467b Query类修改 find方法查询不到数据返回 NULL 2016-06-18 09:48:53 +08:00
WeakSun
976215f1b8 修正$dataSet不存在索引0导致报错的情况
当$dataSet不包含索引0的时候,会抛出异常,如:$dataSet = [1=>[……],'str'=>[……],……];
2016-06-18 01:04:52 +08:00
thinkphp
fddcbac7ae 注释修正 2016-06-17 17:09:32 +08:00
thinkphp
50d1798e92 改进Handle类支持异常的多语言 Lang类增加has方法 增加核心中文语言包 2016-06-16 16:07:44 +08:00
thinkphp
fe8f51dd68 修正Query类的一处bug 2016-06-15 19:55:31 +08:00
thinkphp
381784755f Merge branch 'master' of https://github.com/top-think/framework 2016-06-15 11:45:18 +08:00
thinkphp
c88bcf45ad 改进Query类的column方法 支持 field和key相同的情况 2016-06-15 11:44:21 +08:00
yunwuxin
ea1b1af3a3 完善事务嵌套 2016-06-15 11:10:24 +08:00
cbwfree
02595c8350 Query 的 delete() 方法使用 fetchSql() 报错
原代码第 `1976` 行 `$this->getRealSql($sql,$this->bind);` 应该修改为 `$this->connection->getRealSql($sql,$this->bind);`
2016-06-14 16:24:52 +08:00
thinkphp
5f76cd826a Query类whereTime方法改进 支持日期表达式的缩写 2016-06-14 12:29:05 +08:00
thinkphp
8fa12a4d16 Query类的datetime方法更改为whereTime方法 并支持日期表达式查询 2016-06-14 12:23:44 +08:00
thinkphp
9bfeeb8ac6 改进Query类的selectInsert方法 对 table参数的处理 2016-06-14 08:37:14 +08:00
thinkphp
a9cfe2a801 增加日期和时间查询方法 datetime 2016-06-13 16:27:59 +08:00
thinkphp
b6b8b6dcb4 Controller类增加batchValidate属性 validate方法增加batch参数,用于设置是否批量验证
异常类改进
2016-06-13 11:09:42 +08:00
thinkphp
00b0c0f229 改进Model类 改进查询方法的SQL返回机制 2016-06-12 22:47:08 +08:00
thinkphp
b1c8665b99 改进异常类 2016-06-12 17:08:48 +08:00
thinkphp
af1bc0429d 修正Query类的with方法 2016-06-12 16:51:49 +08:00
thinkphp
b10635e22e 异常类规范 增加异常类 改进Query类的value和column的缓存冲突问题 2016-06-12 16:35:42 +08:00
thinkphp
9023041e6b Query类增加findOrFail selectOrFail快捷方法 2016-06-12 12:53:06 +08:00
thinkphp
ccd1e2c2e7 修正Query类的with方法 2016-06-12 12:08:47 +08:00
thinkphp
34a08232aa 一对一关联定义支持指定 join类型 用于预载入查询 2016-06-09 17:19:13 +08:00
thinkphp
3c57c610dc 预载入查询支持指定字段查询 2016-06-09 10:30:04 +08:00
thinkphp
3baf150ce1 Query类增加connect方法用于切换数据库 2016-06-06 18:01:55 +08:00
thinkphp
326ef84f3b 改进Input类 2016-06-04 17:33:33 +08:00
thinkphp
40b8b30dc7 改进Query类的value方法 添加default参数 改进聚合查询方法 2016-06-04 14:01:02 +08:00
thinkphp
99acf3d0b0 改进Query类 2016-06-03 14:28:35 +08:00
thinkphp
8af18e3527 改进Query类的parseExpress方法 2016-06-03 14:27:14 +08:00
thinkphp
c6b8cecc89 改进Db类注释 2016-06-03 14:00:08 +08:00
thinkphp
50810bef0c 改进Query类的find和select方法对cache的处理 2016-06-02 20:59:52 +08:00
thinkphp
625a8767c5 Model类增加全局查询范围定义 改进Query类 2016-06-02 14:18:18 +08:00
thinkphp
d65882e20c 去除 IS_CGI IS_MAC NOW_TIME 常量 2016-06-02 12:21:36 +08:00
thinkphp
3420eb5f60 注释改进 2016-06-01 12:56:22 +08:00
thinkphp
c6595f23aa Connection类的parseSqlTable方法移动到Query类 2016-06-01 12:42:51 +08:00
thinkphp
83cb8093aa 注释完善 2016-06-01 10:47:30 +08:00
thinkphp
431c5d1a28 改进Query类的chunk方法 支持参数绑定 2016-06-01 08:34:04 +08:00
thinkphp
28254c8126 修正Query类的inserGetId方法 2016-05-31 18:46:27 +08:00
thinkphp
923c6657ad 改进Query类的lock方法 支持主从 2016-05-31 16:52:20 +08:00
thinkphp
d36903bddc 改进Query类的getTableInfo方法 支持对表名的特殊字符定义 2016-05-30 16:28:53 +08:00