Commit Graph

325 Commits

Author SHA1 Message Date
thinkphp
af91e7031c 部分不常用的驱动和扩展移出核心 单独扩展 2016-07-16 18:18:05 +08:00
thinkphp
fd8ccb9a2d 改进Builder类parseDatetime方法 2016-07-15 17:09:52 +08:00
thinkphp
2b88407f7a 改进Sqlsrv驱动 2016-07-14 17:02:37 +08:00
yunwuxin
30e25f938b 改进分页类 2016-07-14 10:44:04 +08:00
thinkphp
a01304dd48 日期时间查询改进 增加 >= 和 <= 查询 Query类增加setFieldType方法 设置当前字段类型 2016-07-13 16:50:34 +08:00
魏安国
0a43c5404c 添加Firebird数据库驱动 2016-07-13 11:45:17 +08:00
fangrenfu
6fa8779767 修正MSSQL的UPDATE语句语法错误
query->table('a')->join('b','b.id=a.map')->where('b.id=1')->update($data);
以上应用时update生成的sql语句语法错误。
更正方法:join前增加from 源表名
2016-07-09 09:27:09 +08:00
thinkphp
0622729b72 修正Mysql builder驱动 2016-07-06 11:56:10 +08:00
yunwuxin
edd65cf2c7 修正注释 2016-07-05 10:52:22 +08:00
thinkphp
8b492e0ac0 改进Query类 2016-07-04 15:44:08 +08:00
thinkphp
8fe3e08706 改进Query类的value和column方法 支持 fetchSql方法 2016-07-03 09:06:25 +08:00
WeakSun
bcf9215900 修正MYSQL数据库UPDATE JOIN语句语法错误
JOIN应该在SET之前
2016-07-01 13:33:42 +08:00
thinkphp
79f64169be 修正Query类的查询缓存 2016-07-01 09:45:04 +08:00
thinkphp
37fa2bceca 修正Oracel驱动的execute方法 2016-06-30 21:43:49 +08:00
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