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 |
|
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 |
|
thinkphp
|
e7e79f4c78
|
修改 数据库事务方法的注释 取消返回值
|
2016-08-19 17:00:55 +08:00 |
|
thinkphp
|
bce9e36ded
|
改进Connection类的getLastInsID方法获取
|
2016-08-17 16:37:08 +08:00 |
|
thinkphp
|
2beba43b2e
|
Model类的save方法参数和返回值调整 返回值固定为影响的记录数 Connection类及Query类的execute方法和getLastInsID方法参数调整
|
2016-08-15 19:17:32 +08:00 |
|
thinkphp
|
5a612058ef
|
改进Connection类connect方法的异常处理 改进Query类一处可能的问题
|
2016-08-11 14:00:24 +08:00 |
|
thinkphp
|
b1ae6b89c2
|
记录数据库连接时间
|
2016-08-09 16:40:34 +08:00 |
|
thinkphp
|
6a2fda25de
|
改进Connection类的connect方法
|
2016-08-09 12:16:36 +08:00 |
|
thinkphp
|
8c39270c58
|
改进sql日志记录
|
2016-08-08 11:15:08 +08:00 |
|
thinkphp
|
4e66bf24e6
|
Connection类的debug方法改进,增加第二个参数,改进数据库驱动的获取表信息的sql记录
|
2016-08-08 11:09:44 +08:00 |
|
thinkphp
|
c927df2f4b
|
配置修改
|
2016-08-06 22:51:34 +08:00 |
|
thinkphp
|
e4280c128e
|
模型增加软删除功能
|
2016-08-05 23:34:21 +08:00 |
|
thinkphp
|
ac528e0680
|
改进当数据库驱动类型使用完整命名空间的时候 Query类的builder方法的问题
|
2016-08-05 10:34:54 +08:00 |
|
thinkphp
|
81a2222143
|
Route类的domain方法和域名路由动态注册机制调整 修正Connction类
|
2016-08-02 16:53:05 +08:00 |
|
thinkphp
|
17c76a41c7
|
改进Query类的driver属性设置 删除Connection类的getDriverName方法 改进connect方法
|
2016-08-02 15:38:58 +08:00 |
|
chunice
|
21fced658a
|
完善Db::connect() 的 phpdoc 注释,增强代码提醒
|
2016-07-28 23:24:09 +08:00 |
|
水平凡
|
b59098a559
|
修改getDriverName方法
|
2016-07-22 11:14:40 +08:00 |
|
thinkphp
|
dc73254db3
|
reamde文件修正
|
2016-06-23 17:08:12 +08:00 |
|
thinkphp
|
5b061cd998
|
数据库数据读取改为默认 保持数据库字段大小写 Connection类fieldCase方法改为public
|
2016-06-23 12:07:25 +08:00 |
|
thinkphp
|
275d93cc38
|
修正Connection类的batchQuery
|
2016-06-22 23:44:49 +08:00 |
|
thinkphp
|
a032828d5c
|
注释规范
|
2016-06-20 17:34:54 +08:00 |
|
thinkphp
|
30cec3abb1
|
取消驱动配置的namespace参数
|
2016-06-18 23:42:16 +08:00 |
|
thinkphp
|
4c848c4a74
|
取消 APP_DEBUG 常量 改为 App::$debug 属性获取 设置调试模式 改为 app_debug 配置参数 在应用配置文件中设置
|
2016-06-15 16:43:31 +08:00 |
|
thinkphp
|
cabf5c4fdf
|
改进Connection类的getResult方法 改进App类的run方法返回值 Builder类的parseValue方法增加field参数
|
2016-06-15 15:45:42 +08:00 |
|