Commit Graph

112 Commits

Author SHA1 Message Date
thinkphp
023f099cc9 改进短线重连异常捕获机制 2017-12-01 19:33:20 +08:00
thinkphp
b0f2e21cca 改进insertall方法的分批处理 2017-11-01 18:10:49 +08:00
thinkphp
0ba3eb1c9c 修正 2017-10-26 15:44:11 +08:00
thinkphp
e414fc644a Connection类quote方法默认连接从库 2017-10-26 11:17:44 +08:00
thinkphp
8d39aa9b05 改进Connection类的getRealSql方法 2017-09-14 18:29:22 +08:00
yinggaozhen
64c51cdde6 修改connecttion和belongsTo若干文档注释错误 2017-08-03 11:29:14 +08:00
thinkphp
71240f71a5 修正事务的断线重连 2017-07-27 18:02:51 +08:00
thinkphp
fb1124a91d 改进Connection类 2017-06-28 13:36:56 +08:00
thinkphp
c14988ee84 改进事务的断线重连 2017-05-19 11:27:23 +08:00
thinkphp
8cc44f8bf6 改进 2017-05-18 13:59:55 +08:00
thinkphp
1bdd33277c 改进断线的异常判断 2017-05-18 10:34:14 +08:00
thinkphp
6e721239ea 改进数据库类的一处不能嵌套查询的缺陷 2017-05-11 18:39:06 +08:00
thinkphp
7dc2a9d975 改进isBreak方法判断 2017-05-03 15:37:35 +08:00
thinkphp
513473b3cb 改进主从数据库的时候 开启事务始终操作主库 2017-04-10 20:59:55 +08:00
thinkphp
a05397b341 修正Connection类 2017-04-07 19:02:05 +08:00
thinkphp
29846f5abc 修正关联查询的软删除数据问题 2017-04-07 17:28:17 +08:00
tb
5d2a1bb61c 改进注释
改进注释
2017-03-30 23:24:42 +08:00
苗高鹏
21834f797d Merge branch 'master' into bugfix3 2017-02-13 14:53:24 +08:00
thinkphp
1e1f36eb40 改进Query类缓存更新 修正Connection类一处可能的错误 2017-02-09 17:49:47 +08:00
thinkphp
88dab63314 增加断线重连机制和开关 2017-01-30 20:06:02 +08:00
thinkphp
55b99355d7 改进Query类的setBuilder方法 避免因自定义连接器类后找不到生成器类 2017-01-26 13:55:01 +08:00
thinkphp
7d517177bc 删除Connection类废弃属性resultSetType 2017-01-24 16:49:20 +08:00
thinkphp
33849140da 优化Connection类close方法 2017-01-24 16:44:50 +08:00
水平凡
d8cc777e1d 修正bindParam方法 2017-01-24 11:51:10 +08:00
thinkphp
6f02e4b127 关联预载入方法调整 取消class参数 关联的数据集查询根据模型的数据集返回类型设定 2017-01-22 12:42:24 +08:00
thinkphp
776bf4805e 改进数据集对象的返回 由Query类select方法返回数据集对象 Connection类getResult方法不再进行数据集对象转换 2017-01-21 12:36:50 +08:00
hooklife
5c4df0ce08 修改架构函数为 构造方法 2017-01-10 15:48:42 +08:00
thinkphp
214ed4976c Merge branch 'master' of https://github.com/top-think/framework
# Conflicts:
#	library/think/db/Connection.php
2017-01-10 10:35:35 +08:00
thinkphp
49108300c9 改进对存储过程调用的支持 改进getRealSql的调用机制 改进数据表字段使用中划线的参数绑定支持 2017-01-10 10:31:22 +08:00
thinkphp
ba7ca1d562 修正 2017-01-06 16:17:35 +08:00
thinkphp
fd2546730b 数据库配置参数增加result_type 用于设置数据返回类型 方法参数名称调整 2017-01-06 16:12:27 +08:00
thinkphp
0e3bfbe06c 优化Connection的查询 2017-01-02 20:39:20 +08:00
thinkphp
d6b9e2f628 2017更新 2017-01-01 13:00:23 +08:00
thinkphp
c20c27bcb8 Connection类model方法更改为getQuery 2016-12-27 08:15:57 +08:00
thinkphp
0fd7259679 修正 2016-12-26 23:06:20 +08:00
thinkphp
7bb3e5561c 优化Connection类__call方法 2016-12-26 22:55:38 +08:00
thinkphp
463cdcf874 配置文件调整 2016-12-24 22:10:30 +08:00
thinkphp
43b364e286 规范代码 2016-12-24 21:37:05 +08:00
thinkphp
6eedbc5a0a Model类的autoWriteTimestamp属性和类型转化类型支持设置为类名
dateFormat属性支持在数据库配置中设置datetime_format参数
2016-12-22 17:37:52 +08:00
thinkphp
405825ff8a Model类增加resultSetType属性 用于指定模型查询的数据集对象(默认为空返回数组) Db类查询不再支持设置自定义数据集对象(只能使用数组或者think\Collection) 2016-12-05 16:24:02 +08:00
thinkphp
2f892770c2 改进sql日志的sql语句 2016-11-26 23:14:34 +08:00
thinkphp
2477345218 优化Connection类的getRealSql方法生成的sql 2016-10-25 14:46:02 +08:00
thinkphp
f2e51604f4 改进整型字段的参数绑定写入 默认值 2016-10-17 12:09:13 +08:00
thinkphp
35890dad5c 数据库配置信息增加query参数用于配置查询对象名称 模型类增加query属性用于配置模型需要的查询对象名称 2016-09-20 12:04:09 +08:00
thinkphp
633d0041c6 改进查询条件的自动参数绑定 2016-09-13 12:26:22 +08:00
thinkphp
faa3e8aabc connection类quote方法默认读取主库 2016-09-12 13:50:54 +08:00
thinkphp
2e930bd2a5 Connection类quote方法增加master参数 2016-09-11 12:47:51 +08:00
thinkphp
bb3b9a4284 改进Query类的select方法的返回结果集判断 Connection类增加getNumRows方法 2016-08-29 11:32:43 +08:00
thinkphp
6cd6111a13 修正Connection类 2016-08-22 21:54:41 +08:00
thinkphp
17201e9954 改进对存储过程exec的支持 2016-08-22 18:54:08 +08:00