Commit Graph

311 Commits

Author SHA1 Message Date
thinkphp
0aa1994ce3 Query类改进 cache方法支持自动更新缓存数据(仅针对主键查询、更新和删除) 2016-06-29 18:05:18 +08:00
thinkphp
9e98ad237f 改进Query类的view方法field参数支持使用sql函数 2016-06-29 17:25:37 +08:00
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
802ead16a8 修正几处BUG 2016-06-28 17:05:47 +08:00
thinkphp
9ca4911c44 改进关联预载入查询 两个相同模型查询的问题 2016-06-27 23:29:33 +08:00
thinkphp
7f13d70d0b 改进App类和Request类 2016-06-24 23:41:02 +08:00
thinkphp
dc73254db3 reamde文件修正 2016-06-23 17:08:12 +08:00
thinkphp
5b061cd998 数据库数据读取改为默认 保持数据库字段大小写 Connection类fieldCase方法改为public 2016-06-23 12:07:25 +08:00
thinkphp
275d93cc38 修正Connection类的batchQuery 2016-06-22 23:44:49 +08:00
thinkphp
b4a1905200 改进Builder类的insertall方法 2016-06-21 13:54:55 +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
f005b77a8f 改进Builder类 2016-06-15 18:08:38 +08:00
thinkphp
4c848c4a74 取消 APP_DEBUG 常量 改为 App::$debug 属性获取 设置调试模式 改为 app_debug 配置参数 在应用配置文件中设置 2016-06-15 16:43:31 +08:00
thinkphp
cabf5c4fdf 改进Connection类的getResult方法 改进App类的run方法返回值 Builder类的parseValue方法增加field参数 2016-06-15 15:45:42 +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
yunwuxin
d08ae3671a 完善事务嵌套 2016-06-15 11:03:08 +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
09a7b91fef 修正Connection类 2016-06-14 14:49:24 +08:00
thinkphp
b15f411ae3 改进Builder类 2016-06-14 14:46:43 +08:00
thinkphp
c9155c016d 数据库查询的数据集类型设置改为字符串 2016-06-14 14:06:40 +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
fbb792eb2e 改进Builder类的时间日期查询 2016-06-14 10:32:13 +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
cc191effcc 改进Oracle驱动的execute方法 2016-06-12 17:34:54 +08:00
thinkphp
4d9a4bcaae 修正Oracle驱动 2016-06-12 17:26:36 +08:00
thinkphp
a09cf8d3a1 修正Oracle驱动 2016-06-12 17:17:21 +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