Commit Graph

512 Commits

Author SHA1 Message Date
thinkphp
915c46c4bd 修正多对多默认的中间表获取 2017-06-23 14:05:28 +08:00
thinkphp
e9db7847d3 改进更新后的模型update_time数据更新 2017-06-22 18:13:05 +08:00
thinkphp
d30316efda model类增加removeRelation方法 2017-06-19 15:27:55 +08:00
thinkphp
0e2bab2804 模型类增加setInc和setDec方法 2017-06-09 15:35:33 +08:00
thinkphp
8a5ad4b79b 修正 2017-06-07 13:00:37 +08:00
thinkphp
46589692eb 模型类增加autoWriteTimestamp方法动态设置时间字段写入 2017-06-07 12:58:34 +08:00
thinkphp
93e25ef386 修正Model 2017-06-01 23:07:37 +08:00
thinkphp
30cc49abc7 调整模型的save方法before_update检查位置 2017-05-25 11:04:37 +08:00
thinkphp
a45586ad02 改进模型类的save方法 2017-05-20 14:47:42 +08:00
thinkphp
53a819ff5b 改进save方法 2017-05-19 23:32:33 +08:00
thinkphp
23883590c4 模型的数据不受allowfield影响 2017-05-18 16:21:13 +08:00
thinkphp
13a5a3d9b6 改进模型的appendRelationAttr方法 2017-05-14 13:46:02 +08:00
thinkphp
629a194211 改进模型类的destroy方法 传入空数组和null的时候不进行任何删除操作 2017-05-14 12:05:45 +08:00
thinkphp
96f45258cd 改进关联属性的输出 2017-05-14 11:27:41 +08:00
thinkphp
e3665caeeb 修正关联自动写入 2017-05-13 12:15:05 +08:00
thinkphp
6e721239ea 改进数据库类的一处不能嵌套查询的缺陷 2017-05-11 18:39:06 +08:00
thinkphp
7576b88c99 修正模型数据变化判断 2017-05-11 14:53:43 +08:00
thinkphp
fc432d5f5d 修正Model类的save方法 2017-05-05 17:01:14 +08:00
thinkphp
85b71a3088 Model类添加getRelation方法用于获取关联属性 2017-04-27 12:39:38 +08:00
thinkphp
9bb01ec145 Model类增加setRelation方法和setAttr方法区分 2017-04-27 12:16:43 +08:00
thinkphp
80e1b52615 改进Model类的关联属性判断 2017-04-27 11:25:26 +08:00
thinkphp
e9d45eb570 改进Model类的setAttr方法 2017-04-27 11:18:14 +08:00
thinkphp
bfcdd5ce6a 改进关联属性的判断 2017-04-26 17:58:04 +08:00
thinkphp
60e9790ebe 改进useGlobalScope方法 2017-04-24 17:10:25 +08:00
thinkphp
a7559e0488 scope方法调整 2017-04-24 16:39:05 +08:00
thinkphp
2b0bfa8e8b 改进Model类是__unset和__isset方法判断 2017-04-24 16:11:32 +08:00
thinkphp
37b74f674e 改进命令行模式下自动完成的时间写入问题 2017-04-21 21:46:02 +08:00
thinkphp
77dbb1315b 修正聚合模型 以及模型方法和属性同名的BUG 2017-04-19 14:24:44 +08:00
thinkphp
04cf8a34e3 改进together方法支持传入关联模型数据 2017-04-17 13:40:21 +08:00
thinkphp
9b353811af 改进model类save方法 2017-04-17 12:35:28 +08:00
thinkphp
591164dae6 改进 2017-04-14 18:22:27 +08:00
thinkphp
f55e7ae900 修正toarray方法 2017-04-14 18:10:10 +08:00
thinkphp
35d57cfb5c 修正一处错误 2017-04-14 16:21:33 +08:00
thinkphp
7841563bd0 模型数据和关联数据分离 2017-04-13 18:42:48 +08:00
thinkphp
128ff19ce5 改进 2017-04-13 16:43:18 +08:00
thinkphp
87b3283bd3 改进数据更新判断 2017-04-13 16:39:27 +08:00
thinkphp
79b5d43023 改进数据更新检查 2017-04-13 16:21:45 +08:00
thinkphp
3daaf9886a 改进模型对象直接缓存的问题 2017-04-13 11:44:42 +08:00
thinkphp
ea2020cbbf 修正 2017-04-07 19:29:14 +08:00
thinkphp
fe39b35206 修正查询范围 2017-04-07 19:20:19 +08:00
thinkphp
a05397b341 修正Connection类 2017-04-07 19:02:05 +08:00
thinkphp
b65592c9c5 改进Model类 2017-04-07 17:44:13 +08:00
thinkphp
29846f5abc 修正关联查询的软删除数据问题 2017-04-07 17:28:17 +08:00
thinkphp
2b4ddaa35c 注释调整 2017-04-03 22:34:10 +08:00
thinkphp
2d15c762a2 注释调整 2017-04-01 14:17:24 +08:00
thinkphp
ae501f4028 改进模型关联 2017-04-01 12:50:32 +08:00
thinkphp
f72ff880dd Merge branch 'master' of https://github.com/top-think/framework 2017-04-01 11:00:17 +08:00
thinkphp
164b7521c5 改进setAttr方法 2017-04-01 10:59:40 +08:00
thinkphp
a489f99ef4 查询范围支持静态调用 2017-03-31 16:04:38 +08:00
ThinkPHP
ab12b00c5d Apply fixes from StyleCI 2017-03-28 14:12:47 +08:00