Commit Graph

92 Commits

Author SHA1 Message Date
thinkphp
40b8b30dc7 改进Query类的value方法 添加default参数 改进聚合查询方法 2016-06-04 14:01:02 +08:00
thinkphp
99acf3d0b0 改进Query类 2016-06-03 14:28:35 +08:00
thinkphp
8af18e3527 改进Query类的parseExpress方法 2016-06-03 14:27:14 +08:00
thinkphp
c6b8cecc89 改进Db类注释 2016-06-03 14:00:08 +08:00
thinkphp
50810bef0c 改进Query类的find和select方法对cache的处理 2016-06-02 20:59:52 +08:00
thinkphp
625a8767c5 Model类增加全局查询范围定义 改进Query类 2016-06-02 14:18:18 +08:00
thinkphp
d65882e20c 去除 IS_CGI IS_MAC NOW_TIME 常量 2016-06-02 12:21:36 +08:00
thinkphp
3420eb5f60 注释改进 2016-06-01 12:56:22 +08:00
thinkphp
c6595f23aa Connection类的parseSqlTable方法移动到Query类 2016-06-01 12:42:51 +08:00
thinkphp
83cb8093aa 注释完善 2016-06-01 10:47:30 +08:00
thinkphp
431c5d1a28 改进Query类的chunk方法 支持参数绑定 2016-06-01 08:34:04 +08:00
thinkphp
28254c8126 修正Query类的inserGetId方法 2016-05-31 18:46:27 +08:00
thinkphp
923c6657ad 改进Query类的lock方法 支持主从 2016-05-31 16:52:20 +08:00
thinkphp
d36903bddc 改进Query类的getTableInfo方法 支持对表名的特殊字符定义 2016-05-30 16:28:53 +08:00
thinkphp
55f630b33e 改进Queery类 增加whereXor方法 去除 whereExist whereOrExist whereNotExist whereOrNotExist方法 2016-05-29 17:09:35 +08:00
thinkphp
14de14a1eb Query类增加分表规则方法partition 2016-05-29 11:49:08 +08:00
thinkphp
f4e3a3466c Query类增加分表获取方法 支持不同的规则 2016-05-29 11:27:49 +08:00
thinkphp
83e3604314 改进Model类的getPk方法 2016-05-29 11:20:22 +08:00
thinkphp
e890d43d55 关联查询支持远程一对多关联 Query类view方法的field参数支持传入true 2016-05-25 17:57:50 +08:00
thinkphp
44e86a7f53 改进Query类的view方法 2016-05-24 22:33:52 +08:00
thinkphp
165c72e0aa 关联定义支持数据表别名定义 2016-05-24 12:29:51 +08:00
thinkphp
118800ed93 改进Query类的view方法 支持数据表定义别名 2016-05-24 11:34:52 +08:00
thinkphp
71d5e668d1 改进where和whereor闭包查询 2016-05-23 18:02:32 +08:00
thinkphp
6172303c97 增加 database.auto_timestamp 配置参数用于配置是否需要自动写入时间戳字段 2016-05-23 11:47:33 +08:00
thinkphp
90c5dc79ed 修正Query类的getLastSql方法 2016-05-21 17:25:53 +08:00
thinkphp
f3aceca2b0 改进Query类的field方法 2016-05-21 11:38:18 +08:00
thinkphp
25981119ad Query类的view方法field参数支持字符串 2016-05-21 10:24:08 +08:00
thinkphp
f7e26259d0 Query类增加view方法用于视图查询 2016-05-20 23:30:26 +08:00
thinkphp
92496f65a1 Query类增加getlastsql方法 2016-05-20 14:47:20 +08:00
thinkphp
6dd393bd71 改进Query类的insertGetId方法 支持传入自增序列名 2016-05-20 11:10:20 +08:00
gjianbo
7a0d387e10 Update Query.php 2016-05-19 15:02:21 +08:00
thinkphp
e151d70f62 query类增加sequence方法 用于设置 自增序列名 2016-05-19 12:38:11 +08:00
thinkphp
4898e333b5 改进代码 2016-05-18 18:28:25 +08:00
yunwuxin
e093a6661e 分页的每页数量可以通过配置全局定义 2016-05-18 16:51:23 +08:00
thinkphp
a00c4c51fe 注释改进 2016-05-18 12:30:55 +08:00
thinkphp
fdd41cd1c7 改进Model类的getData方法 2016-05-18 11:01:49 +08:00
thinkphp
198ea76923 改进Query类 2016-05-18 10:20:34 +08:00
thinkphp
5a01b29c30 修正Merge模型 2016-05-17 17:01:04 +08:00
thinkphp
a4a14b3bf1 修正Query类 改进Response类 改进异常输出 2016-05-16 16:39:17 +08:00
thinkphp
199825ec32 改进Response类 支持扩展不同的输出类型 改进Model类 不同的模型采用不同的查询对象实例 修正Request类一处错误 助手函数view改进 直接返回Response类对象实例 2016-05-16 14:18:47 +08:00
thinkphp
00b17411b6 改进Model类 2016-05-14 20:54:22 +08:00
thinkphp
15e01901fb 修正Query类一处错误 2016-05-11 18:14:16 +08:00
thinkphp
4633f240d0 query类增加fetchClass方法用于指定返回数据集类型 2016-05-09 12:22:34 +08:00
thinkphp
144a6132e6 Db类增加RESULTSET_ARRAY RESULTSET_COLLECTION 和 RESULTSET_CLASS 常量
数据库Connection类增加resultSetType属性定义 支持设置数据集返回类型
2016-05-09 11:45:00 +08:00
thinkphp
6723257a4b 修正Query类的find方法一处警告错误 2016-05-09 10:01:00 +08:00
thinkphp
583af3aed6 Query类value和column增加对调用field链式操作方法的处理 2016-05-06 18:31:43 +08:00
yunwuxin
a00df4246e 分页功能 2016-05-06 18:09:53 +08:00
thinkphp
28a88d9937 改进Query类的column对没有查询到数据的处理 2016-05-05 17:30:29 +08:00
thinkphp
b5beaeded3 改进Model类支持 按照查询条件 更新 2016-05-05 12:34:39 +08:00
thinkphp
544e3ea833 每个模型类采用 独立的数据库实例避免混淆 2016-05-05 11:33:32 +08:00