thinkphp
372111c3a9
修正对象的条件查询
2017-08-02 18:11:55 +08:00
thinkphp
71240f71a5
修正事务的断线重连
2017-07-27 18:02:51 +08:00
thinkphp
52e33ddbc7
数据库驱动改进
2017-07-12 15:21:37 +08:00
thinkphp
5c1d516a65
修正聚合查询返回null的问题
2017-07-06 23:23:06 +08:00
thinkphp
ac7dbafab2
优化query类的insert方法
2017-07-05 13:32:13 +08:00
thinkphp
6e94f2eae7
修正数据库查询一处问题 改进数据库异常避免暴露敏感信息
2017-07-04 09:08:52 +08:00
uuling
bbdd88b2c4
修复 传入数组批量设置数据表以及别名 bug
...
Db::table('think_user')->alias(['think_user'=>'user','think_dept'=>'dept'])->join('think_dept','dept.user_id= user.id')->select();
生成的SQL为
SELECT * FROM think_user user INNER JOIN think_dept think_dept ON dept.user_id= user.id
修改后生成的SQL为
SELECT * FROM think_user user INNER JOIN think_dept dept ON dept.user_id= user.id
2017-07-01 22:37:07 +08:00
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