Commit Graph

297 Commits

Author SHA1 Message Date
thinkphp
a3f80621b5 改进Query类的paginate方法 2016-10-25 22:54:40 +08:00
thinkphp
0674c77498 改进Query类的view和join方法 2016-10-24 14:15:09 +08:00
thinkphp
11f750071c 修正Query类一处错误 2016-10-22 13:25:31 +08:00
thinkphp
2c15118f60 改进Query类的join方法 2016-10-21 23:18:29 +08:00
thinkphp
a83af51903 改进Query类的view方法和join方法 支持使用不带前缀的表名 2016-10-21 23:05:33 +08:00
thinkphp
5a417480a1 改进验证类的activeUrl方法 改进Query类分页方法的参数绑定 2016-10-21 17:36:09 +08:00
thinkphp
99300f8d4d 修正Query类setInc和setDec方法 2016-10-16 19:26:04 +08:00
thinkphp
c67eb5adc8 改进Query类的value方法缓存判断 2016-10-10 17:25:37 +08:00
thinkphp
e3466b4383 改进Query类join方法对子查询支持 2016-10-10 16:29:47 +08:00
thinkphp
0b8327d135 改进 2016-10-10 10:51:32 +08:00
thinkphp
38b21f25ba 简化join方法 2016-10-09 15:39:54 +08:00
thinkphp
b754709dbf 修正Query的join方法 2016-10-09 15:07:19 +08:00
thinkphp
e3ec75d001 改进Query类的table方法和alias方法 2016-10-09 12:08:49 +08:00
thinkphp
6f9fc912df 改进parseTable方法和parseJoin 关联预载入支持hasOne自关联 2016-10-08 21:53:27 +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
497c13f127 改进Query类的聚合查询方法的返回值 2016-09-30 20:41:11 +08:00
thinkphp
afa348bc46 改进Query类的getOptions方法 当name参数不存在的时候返回null 2016-09-27 17:26:36 +08:00
thinkphp
ddb1d702e9 改进Query类分页方法 2016-09-26 16:17:36 +08:00
thinkphp
fc8f05abc9 Query类分页方法第二个参数支持传入总记录数 2016-09-26 16:07:42 +08:00
thinkphp
431c09e082 改进Query类的view方法 第二个参数默认值更改为true 获取全部的字段 2016-09-21 14:22:56 +08:00
thinkphp
c1a2db30c7 改进数据表字段缓存读取 2016-09-20 10:45:10 +08:00
thinkphp
fb52e8a421 改进数据表字段缓存生成 支持读取模块的模型生成 2016-09-19 15:28:31 +08:00
thinkphp
d2b75581fb 模型类的field属性定义简化 取消Query类的allowField和setFieldType方法及相关属性 交给数据表字段缓存 2016-09-18 20:12:32 +08:00
thinkphp
2b476fe7ff 增加 optimize:schema 命令 用于生成 数据表字段信息缓存 2016-09-18 17:01:55 +08:00
thinkphp
83ad0ced1b 改进Query类的分页方法 支持参数绑定 2016-09-07 19:22:10 +08:00
thinkphp
fc0c563706 改进Query类的gettableinfo方法 2016-09-07 11:52:24 +08:00
thinkphp
0e4549fe76 Query类cache方法增加第三个参数 用于设置缓存标签 2016-09-03 21:41:33 +08:00
thinkphp
7d9b65e63b 改进Query类的find方法 2016-09-02 12:26:55 +08:00
thinkphp
da4b98fca7 改进Query类的查询方法 2016-09-01 13:31:30 +08:00
thinkphp
655e6fb38f 改进Query类的查询方法 2016-08-31 17:52:32 +08:00
thinkphp
389b4c7dd2 环境变量定义文件更改为 .env 不再使用php数组方式定义 改为兼容ini格式定义(支持数组方式) 2016-08-31 11:43:05 +08:00
thinkphp
b59649d128 改进Query类的select方法 2016-08-30 12:08:31 +08:00
thinkphp
bb3b9a4284 改进Query类的select方法的返回结果集判断 Connection类增加getNumRows方法 2016-08-29 11:32:43 +08:00
thinkphp
5725e21caf 改进Query类的field方法 2016-08-24 18:07:03 +08:00
thinkphp
dead0d561f 改进Query类 2016-08-24 17:10:19 +08:00
thinkphp
29bd46caf5 改进模型的字段信息定义第二次查询不生效的问题 2016-08-24 16:12:05 +08:00
thinkphp
ee4960af78 改进Query类的getTableInfo方法 2016-08-24 15:35:55 +08:00
thinkphp
e7e79f4c78 修改 数据库事务方法的注释 取消返回值 2016-08-19 17:00:55 +08:00
thinkphp
65053bc1a5 改进Query类的chunk方法对主键的获取 2016-08-17 16:07:05 +08:00
thinkphp
60af21b56e 改进Query类的update和delete的缓存key判断 2016-08-17 11:39:48 +08:00
thinkphp
dfb92fa9dd Query类的update和delete方法支持调用cache方法 会自动清除指定key的缓存 配合查询方法的cache方法一起使用 Model类的get方法第三个参数传入true的时候会自动更新缓存 2016-08-17 11:17:03 +08:00
thinkphp
f3ff63268a Model类get方法使用主键查询自动缓存 2016-08-16 22:39:53 +08:00
thinkphp
2beba43b2e Model类的save方法参数和返回值调整 返回值固定为影响的记录数 Connection类及Query类的execute方法和getLastInsID方法参数调整 2016-08-15 19:17:32 +08:00
thinkphp
d76137382c 改进Query类的field方法 2016-08-11 16:28:40 +08:00
thinkphp
5a612058ef 改进Connection类connect方法的异常处理 改进Query类一处可能的问题 2016-08-11 14:00:24 +08:00
thinkphp
1a089223ea 改进Query类的chunk方法获取主键 2016-08-09 11:14:24 +08:00
thinkphp
7b8f656827 改进Query类的feild方法 2016-08-08 14:25:56 +08:00
thinkphp
f21e6827e1 改进Query类的field方法 2016-08-08 10:33:34 +08:00