Commit Graph

98 Commits

Author SHA1 Message Date
thinkphp
4882617edb 改进Query类group方法的解析 2017-09-07 11:45:04 +08:00
thinkphp
4ef35fa4bb Query类lock方法支持传入字符串 2017-09-05 17:36:15 +08:00
thinkphp
e05d6aecd6 改进Builder类的parseData方法 2017-08-30 14:14:43 +08:00
thinkphp
2a07b7dbb8 改进数组查询条件中的null查询 2017-08-10 10:34:23 +08:00
yinggaozhen
7c9b2079e8 修改Builder若干处注释错误,错别字,以及修复一处因方法不存在可能导致异常的错误 2017-08-03 11:29:14 +08:00
thinkphp
372111c3a9 修正对象的条件查询 2017-08-02 18:11:55 +08:00
thinkphp
52e33ddbc7 数据库驱动改进 2017-07-12 15:21:37 +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
e40a795b43 修正whereNotLike方法 2017-06-25 10:41:51 +08:00
thinkphp
1bb78d11b7 改进in查询的去重问题 2017-05-27 22:41:39 +08: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
e13c825aa7 比较运算支持使用闭包子查询 2017-05-12 11:03:36 +08:00
thinkphp
00fd0b5e20 改进软删除条件在使用闭包查询情况下多次生成的问题 2017-03-22 16:38:51 +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
Jim Liu
e8df221a8d 修复 WHERE IN / NOT IN 型查询条件为空导致的 sql 语法错误 2017-02-15 12:22:58 +08:00
苗高鹏
21834f797d Merge branch 'master' into bugfix3 2017-02-13 14:53:24 +08:00
Jim Liu
47bfd562fe 修复闭包查询条件为空导致的 sql 语法错误 2017-01-29 17:24:06 +08:00
thinkphp
a13eb10116 改进写入数据的自动参数绑定 2017-01-21 14:20:26 +08:00
thinkphp
249c5e62e4 改进parseOrder对rand的支持 2017-01-20 20:27:55 +08:00
hooklife
5c4df0ce08 修改架构函数为 构造方法 2017-01-10 15:48:42 +08:00
thinkphp
49108300c9 改进对存储过程调用的支持 改进getRealSql的调用机制 改进数据表字段使用中划线的参数绑定支持 2017-01-10 10:31:22 +08:00
thinkphp
8985a41c32 like查询条件支持数组 2017-01-04 16:50:42 +08:00
thinkphp
d6b9e2f628 2017更新 2017-01-01 13:00:23 +08:00
thinkphp
d409477b42 改进参数绑定支持中文字段自动绑定 2016-12-27 15:49:01 +08:00
thinkphp
d89fb4bd0a 改进Builder类的insertall方法 增加对null和对象数据的处理 2016-12-27 13:43:31 +08:00
thinkphp
43b364e286 规范代码 2016-12-24 21:37:05 +08:00
thinkphp
a996640c7e 写入数据为对象的时候检测是否有__toString方法 2016-12-23 10:23:54 +08:00
thinkphp
936e4b3b04 改进Builder类的parseDateTime方法 2016-12-09 18:12:27 +08:00
thinkphp
73c47acef8 改进Query类和Builder类 2016-12-07 12:14:31 +08:00
thinkphp
bf3797deda 修正闭包查询 2016-12-07 07:41:48 +08:00
thinkphp
4780d194b5 改进数据库操作join自身后出错的问题 2016-12-07 07:16:50 +08:00
thinkphp
b7f7a8a2a7 改进多表更新的字段不存在问题 2016-12-06 08:07:09 +08:00
thinkphp
ada54290b7 改进自动参数绑定 2016-11-22 16:09:14 +08:00
thinkphp
72cdb44de8 改进in和between查询条件的自动参数绑定 2016-11-22 14:32:22 +08:00
thinkphp
e643514af8 修正关联查询的时候 whereTime方法的bug 2016-11-15 18:53:56 +08:00
thinkphp
b754709dbf 修正Query的join方法 2016-10-09 15:07:19 +08:00
thinkphp
6f9fc912df 改进parseTable方法和parseJoin 关联预载入支持hasOne自关联 2016-10-08 21:53:27 +08:00
thinkphp
7af500de84 修正Query类parseOrder方法一处错误 2016-10-07 11:28:30 +08:00
thinkphp
7c49bd4420 改进join方法解析 2016-10-06 21:50:10 +08:00
thinkphp
32e001cdc6 改进table方法的解析 2016-10-06 20:37:12 +08:00
thinkphp
76b7f02ea4 改进join方法和alias方法的解析 改进软删除的base方法 2016-10-06 19:48:11 +08:00
thinkphp
9032818794 修正一个查询条件多个条件的时候的参数绑定BUG 2016-09-17 00:05:26 +08:00
thinkphp
7a5c56ff37 改进Builder类 2016-09-14 12:36:22 +08:00
thinkphp
6bc34d95ac 改进查询条件的参数绑定 2016-09-14 11:57:09 +08:00
thinkphp
79bdc2fd9a 修正EXP查询的参数绑定 2016-09-13 17:17:01 +08:00
thinkphp
3d868bc2d5 修正查询条件为NULL的时候参数绑定的错误 2016-09-13 16:33:31 +08:00