Commit Graph

1640 Commits

Author SHA1 Message Date
thinkphp
a8490a7735 Model类属性tableName改为table Connection类getTableName 更改为 getTable 2016-04-20 22:07:31 +08:00
thinkphp
a5505c000c 改进Model类的toArray方法 支持关联模型输出数组 2016-04-20 21:33:24 +08:00
thinkphp
87a128f231 改进Query类的order方法 2016-04-20 18:16:55 +08:00
thinkphp
02934b0d27 改进关联模型的关联键值和表名读取 2016-04-20 15:31:25 +08:00
thinkphp
b3d592da95 增加多对多的attache和detach方法 可以单独调用 2016-04-20 14:30:09 +08:00
thinkphp
545be5d79b 改进多对多写入 2016-04-20 12:43:33 +08:00
thinkphp
203db9c2a8 改进Relation类支持多对多新增 2016-04-20 12:12:06 +08:00
thinkphp
c792be0358 改进Model类的db方法 2016-04-20 10:10:20 +08:00
thinkphp
514dc8c300 改进getData方法支持获取某个字段值 2016-04-20 08:44:01 +08:00
thinkphp
d621ad1468 Model类增加getData方法 2016-04-20 08:38:15 +08:00
thinkphp
b599829e75 改进Relation类 支持关联的新增 2016-04-20 08:33:23 +08:00
thinkphp
dc40fac651 改进Relation类 2016-04-19 23:18:09 +08:00
thinkphp
aa585a60b2 Model类field方法更名为allowField,增加saveAll方法批量新增数据
改进一对一的关联新增
2016-04-19 22:16:28 +08:00
thinkphp
1e1d2ab951 修正Query类的builder方法 2016-04-19 17:51:45 +08:00
thinkphp
677a73938c 改进 2016-04-19 17:06:34 +08:00
thinkphp
d536451009 Merge branch 'master' of https://github.com/top-think/framework 2016-04-19 17:01:11 +08:00
thinkphp
114aa0c2bf 改进Model类 2016-04-19 17:00:41 +08:00
Haotong Lin
baebe7a7a2 更正时区 2016-04-19 15:05:44 +08:00
thinkphp
01dd8ee074 改进Think驱动类 2016-04-19 13:43:33 +08:00
thinkphp
1f0892f93c 改进chunk方法 支持在调用chunk之前使用连贯操作方法 2016-04-19 13:25:31 +08:00
thinkphp
7d8ea08194 Query类增加chunk方法 分批处理数据 2016-04-19 12:46:24 +08:00
thinkphp
3b9609bf5c 助手函数库注释完善 2016-04-19 10:47:22 +08:00
thinkphp
7482335aea 修正单元测试 2016-04-19 10:09:45 +08:00
thinkphp
b874b4d7d8 Php模板引擎默认后缀改为.php 2016-04-19 10:05:04 +08:00
thinkphp
c6c0554b5d 改进模板文件路径 2016-04-19 10:01:25 +08:00
thinkphp
f9983b162d helper函数修正 2016-04-19 08:15:42 +08:00
thinkphp
fa66950d5a 改进Build类 2016-04-18 23:01:21 +08:00
thinkphp
6152a41665 Model类添加field方法 用于设置允许写入的字段 改进Query类的field方法 2016-04-18 22:05:48 +08:00
thinkphp
9152c5ec0c 部分助手函数更名 更利于理解 2016-04-18 20:56:58 +08:00
thinkphp
ba0c3de8ba 修正responseTest 2016-04-18 20:28:44 +08:00
thinkphp
2ba7455047 修正response类变量和方法名 2016-04-18 20:24:41 +08:00
thinkphp
cb9bd656fa Merge branch 'master' of https://github.com/top-think/framework 2016-04-18 20:18:55 +08:00
thinkphp
262b333538 修正 2016-04-18 18:11:41 +08:00
thinkphp
da9c1a8a81 修正单元测试 删除controller类show方法 用 display方法替代 2016-04-18 18:08:08 +08:00
thinkphp
2e6ba63ed9 改进where方法传空值 2016-04-18 17:14:22 +08:00
thinkphp
0baf54f7fd viewTest改动 2016-04-18 16:40:29 +08:00
thinkphp
a66842a030 修正 2016-04-18 16:11:52 +08:00
thinkphp
f8eb8952e2 修正单元测试 2016-04-18 15:41:29 +08:00
thinkphp
c2ef6cc883 View类和模板引擎驱动分离调整 模板主题功能取消 2016-04-18 15:32:18 +08:00
thinkphp
455a18e85a 修正Query类的cache方法 2016-04-18 12:11:41 +08:00
thinkphp
2a09d8d8db 修正 2016-04-18 10:58:20 +08:00
thinkphp
289f2e7741 多对多支持中间表获取 2016-04-17 23:38:04 +08:00
thinkphp
3f7113558c 改进多对多关联查询及预载入 2016-04-17 22:34:12 +08:00
thinkphp
14e44291e4 修正Relation 2016-04-17 13:10:47 +08:00
thinkphp
e5e358303b 注释修改 2016-04-17 13:07:00 +08:00
thinkphp
d8ac3574f5 关联模型拆分 2016-04-17 13:03:47 +08:00
thinkphp
2bc267a6aa insert和update方法支持使用field方法过滤写入字段 2016-04-17 09:44:40 +08:00
thinkphp
57f855e01d 修正builder 2016-04-17 09:32:07 +08:00
thinkphp
e82761c582 注释修改 2016-04-16 23:04:02 +08:00
thinkphp
c9e23e61b6 删除Query类的scope方法 2016-04-16 21:51:02 +08:00