Releases: top-think/think-orm
Releases · top-think/think-orm
V4.0.11
Compare
Sorry, something went wrong.
No results found
改进isAutoWriteTimestamp和setDateFormat方法返回值
改进set方法的类型自动转换处理
改进getCachedSchemaInfo方法缓存检测
改进whereJsonContains方法的condition参数支持传入数组
优化whereJsonContains方法
V4.0.10
Compare
Sorry, something went wrong.
No results found
模型输出支持指定场景输出
增加autoValidate参数用于设置是否需要进行模型自动验证
增加hasWhereOr关联查询方法
datetime和timestamp类型定义支持指定foramt参数
V4.0.9
Compare
Sorry, something went wrong.
No results found
V4.0.8
Compare
Sorry, something went wrong.
No results found
改进withJoin的闭包查询
改进视图模型用法
改进Model多次save的问题
改进视图模型对关联数据的获取
修改pk方法参数允许为null
改进setInc和setDec方法
V4.0.7
Compare
Sorry, something went wrong.
No results found
修正isExists方法
改进with关联方法支持多次调用
改进pk主键设置,如果有设置不再自动获取
decimal类型作为字符串处理
V4.0.6
Compare
Sorry, something went wrong.
No results found
改进model的__isset方法判断支持关联数据
修正多对多关联的中间表模型设置
改进isAutoWriteTimestamp方法的参数类型限制
修正关闭dateFormat时候的格式输出
改进DateTime类支持关闭dateFormat格式输出
改进软删除字段判断
V4.0.5
Compare
Sorry, something went wrong.
No results found
调整Connection类
增加getAlias方法获取数据表别名
改进关联has和hasWhere查询的别名冲突问题
增加官方4.0手册文档
V4.0.4
Compare
Sorry, something went wrong.
No results found
重构Model和Entity
增加单元测试
兼容ORM3.0
V4.0.3
Compare
Sorry, something went wrong.
No results found
实体模型增加connection、table、name、suffix等参数设置
改进实体模型save方法的事件触发时间
V4.0.2
Compare
Sorry, something went wrong.
No results found