Commit Graph

226 Commits

Author SHA1 Message Date
thinkphp
c04bb1cd1e 规范预载入方法的调用 如果调用user_profile 预载入会自动对应 userProfile关联方法 2016-12-11 17:36:35 +08:00
thinkphp
63a3936eb9 改进Query类table方法 2016-12-09 19:18:35 +08:00
thinkphp
9e0185411e 改进Query类的trigger方法参数 2016-12-09 18:31:05 +08:00
thinkphp
846553ec13 增加Query对象的before_find before_select after_insert after_update after_delete 事件注册 2016-12-09 17:52:09 +08:00
thinkphp
73c47acef8 改进Query类和Builder类 2016-12-07 12:14:31 +08:00
thinkphp
e0d23618b6 改进Query类的column方法 2016-12-07 11:18:04 +08:00
thinkphp
4780d194b5 改进数据库操作join自身后出错的问题 2016-12-07 07:16:50 +08:00
thinkphp
32c2f5799b 修正子查询作为表名查询的问题 2016-12-05 16:48:18 +08:00
thinkphp
405825ff8a Model类增加resultSetType属性 用于指定模型查询的数据集对象(默认为空返回数组) Db类查询不再支持设置自定义数据集对象(只能使用数组或者think\Collection) 2016-12-05 16:24:02 +08:00
thinkphp
1d2b44adc8 修正Query的select方法的关联预载入 2016-12-05 10:55:50 +08:00
thinkphp
d11e4aea10 关联模型架构调整 2016-12-05 08:42:08 +08:00
thinkphp
fedfd9c857 修正 2016-11-28 23:24:48 +08:00
thinkphp
7a79071d1a 查询支持一个字段多次查询条件 2016-11-28 22:44:59 +08:00
thinkphp
f756bb804e 改进 2016-11-22 17:24:44 +08:00
thinkphp
ee5ef96aac 修正 2016-11-22 17:22:45 +08:00
thinkphp
1839123bcd 模型的all和select方法支持获取器 2016-11-22 17:18:59 +08:00
thinkphp
384ce564f9 改进Query类对数据集对象以及关联字段排序的支持 2016-11-22 11:08:45 +08:00
thinkphp
45f260d11a 改进Query类的getTableInfo方法缓存读取 2016-11-17 22:24:45 +08:00
thinkphp
72209e8035 改进Query类的聚合查询 2016-11-12 23:55:17 +08:00
thinkphp
310775471a table方法支持字符串方式的子查询 2016-11-12 11:11:18 +08:00
thinkphp
a924186ce6 修正count avg方法使用fetchsql无法正确返回sql的问题 2016-11-12 10:38:19 +08:00
thinkphp
6f51dd0e47 修正软删除的withTrashed方法 Query类增加removeWhereField方法 2016-11-10 11:36:32 +08:00
thinkphp
3935ed5915 关联定义支持在关联方法中使用field获取指定查询字段 2016-11-09 16:01:59 +08:00
thinkphp
46b8b5e8e7 改进Query类的min和max方法 对 日期类型的支持 2016-11-07 11:14:02 +08:00
thinkphp
3a1cf0bb9a 修正Query类getJoinTable方法 2016-11-02 10:32:26 +08:00
thinkphp
1d30c47de3 改进Query类的alias方法 2016-11-01 18:17:37 +08:00
thinkphp
223a48b6b8 改进Query类join和view方法 2016-10-30 10:11:12 +08:00
thinkphp
05e341a80d 改进Query类的join方法 2016-10-29 09:24:34 +08:00
thinkphp
087e968b80 改进Query类where方法 2016-10-26 11:34:36 +08:00
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