thinkphp
b0f2e21cca
改进insertall方法的分批处理
2017-11-01 18:10:49 +08:00
thinkphp
9db0007e36
改进参数绑定类型对枚举类型的支持
2017-10-31 12:12:49 +08:00
thinkphp
0ba3eb1c9c
修正
2017-10-26 15:44:11 +08:00
thinkphp
e414fc644a
Connection类quote方法默认连接从库
2017-10-26 11:17:44 +08:00
thinkphp
b14f58d717
改进alias方法
2017-10-16 17:22:06 +08:00
thinkphp
80c82571b0
修正chunk方法对时间字段的支持
2017-10-12 14:27:59 +08:00
thinkphp
d9b21a33d8
改进whereTime查询
2017-09-21 12:42:35 +08:00
thinkphp
8d39aa9b05
改进Connection类的getRealSql方法
2017-09-14 18:29:22 +08:00
thinkphp
926c9edb0c
改进mysql驱动对socket支持
2017-09-13 11:30:29 +08:00
thinkphp
d1a99bb02c
改进Query类的getCacheKey方法
2017-09-12 10:48:51 +08:00
thinkphp
4882617edb
改进Query类group方法的解析
2017-09-07 11:45:04 +08:00
thinkphp
accd0b6db4
改进一处异常错误
2017-09-06 10:18:06 +08:00
thinkphp
067237fa1f
改进一个字段多次查询条件
2017-09-05 18:12:05 +08:00
thinkphp
4ef35fa4bb
Query类lock方法支持传入字符串
2017-09-05 17:36:15 +08:00
thinkphp
c5a826bcc1
改进sqlsrv驱动
2017-09-05 16:46:10 +08:00
thinkphp
ad48ec693f
改进Query类的connect方法
2017-09-04 11:29:19 +08:00
thinkphp
d6716ddd82
改进Query类的cache方法
2017-09-01 17:23:19 +08:00
thinkphp
ed5d05f4b7
修正
2017-08-31 17:01:03 +08:00
thinkphp
18aa14924e
chunk方法添加异常处理
2017-08-31 16:15:24 +08:00
thinkphp
aa0583fee4
改进Query类chunk方法避免受order方法影响
2017-08-31 15:58:48 +08:00
thinkphp
e05d6aecd6
改进Builder类的parseData方法
2017-08-30 14:14:43 +08:00
thinkphp
e2c7ba29e3
改进chunk方法的order参数大小写
2017-08-21 11:16:56 +08:00
thinkphp
6b98a9974c
改进Query类的chunk方法支持排序设置
2017-08-19 10:42:05 +08:00
thinkphp
2a07b7dbb8
改进数组查询条件中的null查询
2017-08-10 10:34:23 +08:00
yinggaozhen
64c51cdde6
修改connecttion和belongsTo若干文档注释错误
2017-08-03 11:29:14 +08:00
yinggaozhen
7c9b2079e8
修改Builder若干处注释错误,错别字,以及修复一处因方法不存在可能导致异常的错误
2017-08-03 11:29:14 +08:00
yinggaozhen
18dfd95f48
新增Sqlite->parseLimit limit参数注释
2017-08-03 11:29:14 +08:00
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