Commit Graph

225 Commits

Author SHA1 Message Date
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
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
855c2c75da 改进Cache类 及 驱动 改进Connection类及驱动 2016-05-05 16:32:47 +08:00
thinkphp
b5beaeded3 改进Model类支持 按照查询条件 更新 2016-05-05 12:34:39 +08:00
thinkphp
544e3ea833 每个模型类采用 独立的数据库实例避免混淆 2016-05-05 11:33:32 +08:00
thinkphp
7a8bb3b54f 增加接口类 规范驱动扩展 2016-05-05 07:39:05 +08:00
thinkphp
6b26b1ee25 改进Model类和Query类 Model类的name属性改为static定义 2016-05-04 16:24:51 +08:00
thinkphp
aaec3f8115 修正sqlsrv驱动 2016-05-04 15:50:55 +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