Commit Graph

288 Commits

Author SHA1 Message Date
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
c3d673dab4 改进Connection类的事务方法 2016-05-31 18:03:48 +08:00
thinkphp
bf59fd8097 改进Connection类 2016-05-31 17:37:04 +08:00
thinkphp
923c6657ad 改进Query类的lock方法 支持主从 2016-05-31 16:52:20 +08:00
trojanbox
2f5db5f222 修改部分类注释 2016-05-30 18:35:19 +08:00
thinkphp
d36903bddc 改进Query类的getTableInfo方法 支持对表名的特殊字符定义 2016-05-30 16:28:53 +08:00
thinkphp
309c79f8c0 改进Builder类的insertAll方法 过滤非标量数据 2016-05-30 11:31:16 +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
8ccb3f1162 改进Connection类的getBindSql方法 2016-05-26 12:26:02 +08:00
thinkphp
4c456e3b4e 修正事务方法 2016-05-26 10:45:31 +08:00
thinkphp
0bffec6aaa 代码规范 2016-05-25 21:55:57 +08:00
thinkphp
afa64cfd21 改进存储过程支持 2016-05-25 19:20:12 +08:00
thinkphp
e890d43d55 关联查询支持远程一对多关联 Query类view方法的field参数支持传入true 2016-05-25 17:57:50 +08:00
thinkphp
db4cbebd2e 改进Pgsql驱动 2016-05-25 11:32:40 +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
3bcb764973 修正Builder类的selectinsert方法 2016-05-21 14:42:37 +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
e1abc0844b 改进Builder类对field字符串的空格支持 2016-05-20 23:53:23 +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
63521c1db3 改进代码 2016-05-17 18:19:13 +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
b925150d02 改进Oracle驱动 2016-05-13 23:04:56 +08:00
thinkphp
c3af0bb1c4 模型的时间戳自动写入支持timestamp类型字段 2016-05-12 21:53:54 +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
e7839557c6 驱动改进 2016-05-09 12:01:41 +08:00
thinkphp
ae908199eb 数据库配置参数增加resultset_type 用于设置数据集的返回类型 2016-05-09 11:56:22 +08:00
thinkphp
144a6132e6 Db类增加RESULTSET_ARRAY RESULTSET_COLLECTION 和 RESULTSET_CLASS 常量
数据库Connection类增加resultSetType属性定义 支持设置数据集返回类型
2016-05-09 11:45:00 +08:00