Commit Graph

1748 Commits

Author SHA1 Message Date
尘缘
4e65e7f470 Merge branch 'master' of https://github.com/top-think/framework 2016-05-05 16:51:00 +08:00
thinkphp
b6072ebe48 修正Cache类 2016-05-05 16:46:03 +08:00
thinkphp
a134da6563 改进redisd驱动 2016-05-05 16:40:02 +08:00
thinkphp
c22b26026e Merge branch 'master' of https://github.com/top-think/framework 2016-05-05 16:37:31 +08:00
thinkphp
2aafd538d2 单元测试调整 2016-05-05 16:35:05 +08:00
thinkphp
855c2c75da 改进Cache类 及 驱动 改进Connection类及驱动 2016-05-05 16:32:47 +08:00
尘缘
fb1f35fe3c redis testcase 添加数组的检查 2016-05-05 15:58:03 +08:00
ThinkPHP
3570ce0d23 Merge pull request #53 from vus520/master
添加Redisd驱动及单元测试
2016-05-05 13:27:21 +08:00
thinkphp
fd5447fc4f 修正Validate类的require规则 2016-05-05 13:17:55 +08:00
thinkphp
f7a63cbd9f relation类delete方法删除 (因为影响模型删除事件) 2016-05-05 13:13:21 +08:00
thinkphp
b5beaeded3 改进Model类支持 按照查询条件 更新 2016-05-05 12:34:39 +08:00
尘缘
239f8aa52f 添加Redisd驱动及单元测试 2016-05-05 12:17:12 +08:00
thinkphp
0b22d6a970 Relation类增加delete用于关联模型的删除 2016-05-05 11:58:34 +08:00
thinkphp
544e3ea833 每个模型类采用 独立的数据库实例避免混淆 2016-05-05 11:33:32 +08:00
thinkphp
fd72a3006c Model类增加hidden属性 支持输出数组和json的时候 隐藏个别字段 2016-05-05 10:00:45 +08:00
thinkphp
7a8bb3b54f 增加接口类 规范驱动扩展 2016-05-05 07:39:05 +08:00
thinkphp
3774e3451a 改进Model类的save方法 2016-05-04 18:50:03 +08:00
thinkphp
f87642c6ea 修正单元测试 2016-05-04 18:09:09 +08:00
thinkphp
c759f0d0ab model类的connection table name属性改成 非 static定义 2016-05-04 18:04:19 +08:00
thinkphp
7c7948d44b 改进Db类 2016-05-04 17:00:16 +08:00
thinkphp
6b26b1ee25 改进Model类和Query类 Model类的name属性改为static定义 2016-05-04 16:24:51 +08:00
thinkphp
df39f1706f 修正php模板驱动 2016-05-04 15:56:45 +08:00
thinkphp
aaec3f8115 修正sqlsrv驱动 2016-05-04 15:50:55 +08:00
thinkphp
344ec81981 修正Route类的一处bug 2016-05-04 15:45:43 +08:00
thinkphp
027d4d5b88 改进Query类的column方法 2016-05-03 23:15:52 +08:00
thinkphp
32c148ff2b Query类的column方法支持传入*号 2016-05-03 20:32:40 +08:00
thinkphp
0af5b072a9 改进Query类的find方法 支持查询主键为0的情况 2016-05-03 18:20:33 +08:00
thinkphp
289507c0ce Model类增加toJson方法输出JSON字符串 2016-05-03 12:28:15 +08:00
thinkphp
c7e363ef3b 改进Route类可选参数的完整匹配支持 2016-05-03 08:40:33 +08:00
thinkphp
c9a0d4dbaa 改进Model类的时间类型转换 2016-05-02 22:28:57 +08:00
thinkphp
483a86e1a7 修正Merge模型类 2016-05-02 16:17:52 +08:00
thinkphp
e41120dcbf 修正模型类的saveAll方法 db助手函数增加name参数 2016-05-02 14:24:11 +08:00
thinkphp
46e1d8dc17 console build 命令支持 使用 --module 模块名 方式生成默认模块目录 2016-04-30 22:33:49 +08:00
thinkphp
23e085ecf1 优化View类对输出内容的替换 2016-04-30 15:32:22 +08:00
thinkphp
a8a8d93baa 修正数据库字段大小写设置问题 修正Query类的where方法对原生sql条件的判断 2016-04-30 15:05:52 +08:00
thinkphp
11769ed15c 改进主从数据库的事务支持 2016-04-29 14:41:20 +08:00
thinkphp
494b0dce2b 改进Query类find和select方法的缓存处理 2016-04-29 11:14:24 +08:00
thinkphp
8f305a775e 修正Merge模型类 2016-04-28 23:15:30 +08:00
thinkphp
8eec4c5eb2 query类增加insertGetId方法 模型类的save方法 新增的时候 返回自增id 2016-04-28 23:10:04 +08:00
thinkphp
d8ac3012fe 数据库事务方法添加标识 防止事务嵌套的时候 提前提交 2016-04-28 17:53:20 +08:00
thinkphp
d8214cca48 改进Connection类的connect方法 2016-04-28 17:18:09 +08:00
thinkphp
7050d8b630 完善Builder类 2016-04-28 15:28:26 +08:00
thinkphp
c9ab0cc72a 改进where方法对原生条件的判断 2016-04-28 14:36:46 +08:00
thinkphp
810a88a48e 改进where方法的原生sql条件 并且支持参数绑定 2016-04-28 14:19:55 +08:00
thinkphp
43fb7cc445 改进Query类和Build类 改进查询语法 2016-04-28 14:06:06 +08:00
thinkphp
006b45dd9a 改进query类的聚合查询方法的返回值 2016-04-27 17:35:49 +08:00
thinkphp
7599d76864 Query类的options方法改为protected 不对外调用 2016-04-27 17:05:04 +08:00
thinkphp
0b104d2b49 改进一处 错误 2016-04-27 16:49:36 +08:00
thinkphp
00cd2e61d9 改进数据库连接的问题 2016-04-27 15:44:50 +08:00
thinkphp
6915f0249e 改进模型类对主键的自动读取 2016-04-27 12:42:57 +08:00