Commit Graph

1737 Commits

Author SHA1 Message Date
thinkphp
b5beaeded3 改进Model类支持 按照查询条件 更新 2016-05-05 12:34:39 +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
thinkphp
8cb52f60dd 改进Query类的join方法 2016-04-27 12:12:55 +08:00
thinkphp
fd6ca38265 修正Relation类 2016-04-27 11:12:52 +08:00
thinkphp
d33a164c2f 模式定义文件修改 2016-04-27 10:25:42 +08:00
thinkphp
d93ed98f77 修正模式定义文件 2016-04-27 10:02:42 +08:00
thinkphp
63f4ed0f37 模式定义文件修改 2016-04-26 23:46:25 +08:00
thinkphp
a6a3d572e7 修正Controller类的engine方法 2016-04-26 19:44:44 +08:00
thinkphp
305fdc0d8a 改进View类的instance方法 支持传入replace参数 2016-04-26 19:36:33 +08:00
thinkphp
8bb8f0919b 改进Lang类 去除无用的 traits\model 2016-04-26 19:12:14 +08:00
thinkphp
4b1e88d0cb 改进View类engine方法 如果传入字符串 则表示模板引擎名称 模板引擎参数取默认值 增加 view_replace_str 配置参数 用于设置全局 视图输出内容替换 2016-04-26 17:39:20 +08:00
thinkphp
29d3d9e503 修正 2016-04-26 17:09:47 +08:00
thinkphp
7c74dd9591 改进view类 调整模板引擎的配置参数定义和传入方式 2016-04-26 17:00:55 +08:00