Commit Graph

585 Commits

Author SHA1 Message Date
thinkphp
fb1124a91d 改进Connection类 2017-06-28 13:36:56 +08:00
thinkphp
e40a795b43 修正whereNotLike方法 2017-06-25 10:41:51 +08:00
thinkphp
46620b541b 改进断线重连判断 2017-06-07 08:53:14 +08:00
thinkphp
73cafb95dc 修正Query类的value和column方法 2017-05-29 09:30:00 +08:00
thinkphp
1bb78d11b7 改进in查询的去重问题 2017-05-27 22:41:39 +08:00
thinkphp
8b2a7546e0 Merge branch 'master' of https://git.topthink.com/topteam/framework 2017-05-22 12:40:26 +08:00
fangrenfu
37ff5677dc 修正join其他表时生成的delete语句错误。
Db::table('a')->join('b','a.map=b.id')
            ->where('b.id=1')->delete();
生成的语句是
delete from a inner join b on a.map=b.id where b.id=1 //这在mssql中存在语法错误!
正确的语句应该是delete from a  from a inner join b on a.map=b.id where b.id=1 
希望采纳!
2017-05-20 22:50:04 -05:00
thinkphp
253f2bfc7b insertall支持replace 2017-05-21 00:35:25 +08:00
thinkphp
7deea9dd07 改进Query类 2017-05-20 23:22:23 +08:00
thinkphp
c14988ee84 改进事务的断线重连 2017-05-19 11:27:23 +08:00
thinkphp
8cc44f8bf6 改进 2017-05-18 13:59:55 +08:00
thinkphp
1bdd33277c 改进断线的异常判断 2017-05-18 10:34:14 +08:00
thinkphp
20216368c4 改进数据库驱动 2017-05-16 13:54:26 +08:00
thinkphp
2ee83fff81 Revert "Query类分页查询方法增加total_cache参数配置"
This reverts commit 6a550b8cb8.
2017-05-15 16:55:15 +08:00
thinkphp
6a550b8cb8 Query类分页查询方法增加total_cache参数配置 2017-05-15 16:45:20 +08:00
thinkphp
e13c825aa7 比较运算支持使用闭包子查询 2017-05-12 11:03:36 +08:00
thinkphp
6e721239ea 改进数据库类的一处不能嵌套查询的缺陷 2017-05-11 18:39:06 +08:00
thinkphp
c0763644f3 修正Query类的useSoftDelete方法返回值 2017-05-11 14:23:09 +08:00
thinkphp
a9d5851672 修正一对一嵌套关联数组定义的问题 2017-05-08 23:03:39 +08:00
thinkphp
3dda16bbda 改进使用了手动参数绑定的时候 缓存出现问题的情况 2017-05-06 09:35:43 +08:00
thinkphp
7dc2a9d975 改进isBreak方法判断 2017-05-03 15:37:35 +08:00
thinkphp
2c60d4a13b 改进mysql重连判断 2017-05-03 15:23:45 +08:00
thinkphp
9ea7f48e1a 修正Query类 2017-04-17 08:54:40 +08:00
thinkphp
513473b3cb 改进主从数据库的时候 开启事务始终操作主库 2017-04-10 20:59:55 +08:00
thinkphp
a05397b341 修正Connection类 2017-04-07 19:02:05 +08:00
thinkphp
29846f5abc 修正关联查询的软删除数据问题 2017-04-07 17:28:17 +08:00
thinkphp
64cba15bd3 修正一处软删除的问题 2017-04-06 22:33:40 +08:00
tb
5d2a1bb61c 改进注释
改进注释
2017-03-30 23:24:42 +08:00
thinkphp
00fd0b5e20 改进软删除条件在使用闭包查询情况下多次生成的问题 2017-03-22 16:38:51 +08:00
水平凡
ba21d22213 lazyWrite方法调用Cache的inc方法时参数多余 2017-03-21 14:05:02 +08:00
thinkphp
c36bcf6bab 改进Query类的column方法 2017-03-20 15:27:16 +08:00
thinkphp
a7cdc2b126 改进软删除操作 2017-03-13 16:47:50 +08:00
thinkphp
0fd6dbc80f 改进parseData方法的对象处理参数绑定 2017-03-09 18:03:09 +08:00
thinkphp
b97c0a825e 改进Builder类的parseData方法 2017-03-09 17:38:25 +08:00
thinkphp
97ee6c045b 改进Query类的view方法中字段的关键字问题 2017-02-24 13:13:18 +08:00
thinkphp
138f48498e 改进Query类with方法 2017-02-23 18:25:20 +08:00
thinkphp
365b2a36aa 修正update方法 2017-02-20 18:37:38 +08:00
thinkphp
e9dd69953b Merge branch 'master' of https://github.com/top-think/framework 2017-02-18 21:33:34 +08:00
thinkphp
f00825a477 改进软删除 2017-02-18 21:33:00 +08:00
Jim Liu
e8df221a8d 修复 WHERE IN / NOT IN 型查询条件为空导致的 sql 语法错误 2017-02-15 12:22:58 +08:00
thinkphp
c917ad1ce9 改进Query类缓存机制 2017-02-14 16:25:33 +08:00
苗高鹏
21834f797d Merge branch 'master' into bugfix3 2017-02-13 14:53:24 +08:00
thinkphp
2c0ee2f616 改进软删除 2017-02-09 19:12:45 +08:00
thinkphp
1e1f36eb40 改进Query类缓存更新 修正Connection类一处可能的错误 2017-02-09 17:49:47 +08:00
thinkphp
0d48f4a80c 改进Query类的find方法的缓存机制 2017-02-09 16:28:10 +08:00
thinkphp
13924b5a8b 改进Query类的insert方法一处可能存在的警告错误 改进Model类一处Collection的use 2017-02-08 18:06:12 +08:00
thinkphp
fb8415e653 Query类增加cacheData方法用于数据缓存统一写入 2017-02-04 14:13:44 +08:00
thinkphp
1d23f67e11 优化代码 2017-01-31 10:47:17 +08:00
thinkphp
a3aa8a6de8 find方法查询缓存改进 2017-01-31 10:44:10 +08:00
thinkphp
88dab63314 增加断线重连机制和开关 2017-01-30 20:06:02 +08:00