Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/top-think/think-orm
Think ORM——the PHP Database&ORM Framework
https://github.com/top-think/think-orm
修正类名导入
e35f497efaa3eb58d95d75405b69aaeba0466523 authored 11 months ago
e35f497efaa3eb58d95d75405b69aaeba0466523 authored 11 months ago
fix:修复json字段写入字符串null的bug
mysql中json字段默认值为null的情况下,设置json字段会出现写入字符串null的情况
99cee09202e418f03d358e69fac4c79771a9fd9c authored about 1 year ago
Apply fixes from StyleCI
7b0b8ea6ca5e020217f6ba7ae34d547e148a675b authored over 1 year ago
7b0b8ea6ca5e020217f6ba7ae34d547e148a675b authored over 1 year ago
优化单独使用orm的时候 可能的内存溢出问题
setLog方法支持传入闭包对日志进行处理
废弃getDbLog、updateQueryTime、clearQueryTime及getQueryTimes方法
模型增加setName方法
b745eb5e892c227ebea3dc25ded1b1e2c41e864b authored over 1 year ago
b745eb5e892c227ebea3dc25ded1b1e2c41e864b authored over 1 year ago
MongoDB驱动增加支持配置builder和query参数,便于开发者自定义Builder和Query类实现
dc759e482408c7c6db2f632f56ffc80fc5016e88 authored over 1 year ago
dc759e482408c7c6db2f632f56ffc80fc5016e88 authored over 1 year ago
改进模型对象输出
e676e172d54055266005986d05685bdac5ac66b7 authored over 1 year ago
e676e172d54055266005986d05685bdac5ac66b7 authored over 1 year ago
改进模型动态赋值对模型对象及模型数据集对象的输出支持
499739d0bf9700b753c755e7b3a1213f61e80e4d authored over 1 year ago
499739d0bf9700b753c755e7b3a1213f61e80e4d authored over 1 year ago
Merge branch '3.0' of github.com:top-think/think-orm into 3.0
9f7357b81da70a576219a62221f79674dc52a3d4 authored over 1 year ago
9f7357b81da70a576219a62221f79674dc52a3d4 authored over 1 year ago
改进
d0cf445bfb31bc4433c38c4222dede2cf0aff8d0 authored over 1 year ago
d0cf445bfb31bc4433c38c4222dede2cf0aff8d0 authored over 1 year ago
Merge branch '3.0' of github.com:top-think/think-orm into 3.0
0234a166f98c7d9bf85814ecab7460182cb189f5 authored over 1 year ago
0234a166f98c7d9bf85814ecab7460182cb189f5 authored over 1 year ago
模型关联改进对模型修改器支持
d119171c8ad070468f6444e6d547e7989d9880dc authored over 1 year ago
d119171c8ad070468f6444e6d547e7989d9880dc authored over 1 year ago
改进关联模型输出
b723ee2a71893c1d07f3e22e9911fcf7a9f287a3 authored over 1 year ago
b723ee2a71893c1d07f3e22e9911fcf7a9f287a3 authored over 1 year ago
修正
a5620dd053f74be8246c4fcf40f5eb6ca4ac466e authored over 1 year ago
a5620dd053f74be8246c4fcf40f5eb6ca4ac466e authored over 1 year ago
Apply fixes from StyleCI
4f9860f05cbb639927387ff299d857f97b54193b authored over 1 year ago
4f9860f05cbb639927387ff299d857f97b54193b authored over 1 year ago
改进关联模型的输出
5d139056efc3d441ca067a10b939aecd5f35299b authored over 1 year ago
5d139056efc3d441ca067a10b939aecd5f35299b authored over 1 year ago
调整mongo connection
38a6da3ae03bcae4ea2f484a4cf05687a88a5488 authored over 1 year ago
38a6da3ae03bcae4ea2f484a4cf05687a88a5488 authored over 1 year ago
fix: ParamsBind 忘记 use
13fd7f23babac3769c5545e638b56e65f04c8892 authored over 1 year ago
13fd7f23babac3769c5545e638b56e65f04c8892 authored over 1 year ago
支持 json 类型的 null,not null判断
3aa52cc0dd20c3a2e6adf180bf84664dfd1d6c14 authored over 1 year ago
3aa52cc0dd20c3a2e6adf180bf84664dfd1d6c14 authored over 1 year ago
为 json 值为 null 判断增加单元测试
ee898cb0ddf36f03ee6b5136e81b48ac53c8eef9 authored over 1 year ago
ee898cb0ddf36f03ee6b5136e81b48ac53c8eef9 authored over 1 year ago
修改 PHPDOC 中的 PDOException 异常命名空间
8c264a3edcd067b8c74b953d6844299c8736165d authored over 1 year ago
8c264a3edcd067b8c74b953d6844299c8736165d authored over 1 year ago
删除 phpunit 中的 -v 参数
* phpunit从10开始不再支持此参数,加上也没有效果
* phpunit从10.2.4开始,删除了此参数,加上就报错
bf3579aa38cbade0441dcf9fdec4654cf0e70ff9 authored over 1 year ago
注释
87911c86749c10c3f645800e50587e63193cbe29 authored over 1 year ago
87911c86749c10c3f645800e50587e63193cbe29 authored over 1 year ago
为模型新增一个创建查询对象方法
efbd50bba7f37daee2cb66b47bd0ed5d46d4c9f5 authored over 1 year ago
efbd50bba7f37daee2cb66b47bd0ed5d46d4c9f5 authored over 1 year ago
修改支持phpunit/phpunit 10
dfe4baa46b53373fe604720060d29b341026d340 authored over 1 year ago
dfe4baa46b53373fe604720060d29b341026d340 authored over 1 year ago
修改phpunit/phpunit依赖版本
faf8cd1823070ef15ac80c58302c69f5a388f14e authored over 1 year ago
faf8cd1823070ef15ac80c58302c69f5a388f14e authored over 1 year ago
将部分代码使用语法糖来代替
* isset改为??
* ?:null改为?->
* 数值比对使用max
* 获取布尔值不使用三元表达式,改为直接类型转换
修复代码风格错误
35787e6ca069e4ba7d542ac23e3859f1b28ef7c5 authored over 1 year ago
35787e6ca069e4ba7d542ac23e3859f1b28ef7c5 authored over 1 year ago
序列化已确定返回类型为array,故mixed缩减范围至array
2f6d8bb40597e1c3e2e4ed8be421767bb5944737 authored over 1 year ago
2f6d8bb40597e1c3e2e4ed8be421767bb5944737 authored over 1 year ago
删除多余的异常判断分支
7b013e9f9bbbee8b64f0f1b6bc2d570ebb7d8572 authored over 1 year ago
7b013e9f9bbbee8b64f0f1b6bc2d570ebb7d8572 authored over 1 year ago
改进虚拟模型
68b011d5e8b350f8739b9e92c0503a723b47a29c authored over 1 year ago
68b011d5e8b350f8739b9e92c0503a723b47a29c authored over 1 year ago
修正think\db\connector\Mongo
2393396d20e5be1af53776a229ac7787f8c3c594 authored over 1 year ago
2393396d20e5be1af53776a229ac7787f8c3c594 authored over 1 year ago
调整
710c990013cf94fdf17c70f30ef2897dae919af8 authored over 1 year ago
710c990013cf94fdf17c70f30ef2897dae919af8 authored over 1 year ago
修正
4d833484cf6debcb27b2a9c97600faaff02e8efb authored over 1 year ago
4d833484cf6debcb27b2a9c97600faaff02e8efb authored over 1 year ago
调整参数绑定机制
55988dd646cd24a1f446553b73b6670ef8f4cc57 authored over 1 year ago
55988dd646cd24a1f446553b73b6670ef8f4cc57 authored over 1 year ago
调整Connection基类及Fetch类
5e4461b3d1c5ca825493d8e1ad4111980c9b8ded authored over 1 year ago
5e4461b3d1c5ca825493d8e1ad4111980c9b8ded authored over 1 year ago
3.0 $query to $mongoQuery
8f0d489a7073159817f7e05852989e8f65bdcc48 authored over 1 year ago
8f0d489a7073159817f7e05852989e8f65bdcc48 authored over 1 year ago
Apply fixes from StyleCI
6db241cbfeec853bd4b60644f22346d3c4f93893 authored over 1 year ago
6db241cbfeec853bd4b60644f22346d3c4f93893 authored over 1 year ago
增加BaseBuilder类
f34f3be6da80f07ad972664a6bae33d218814c60 authored over 1 year ago
f34f3be6da80f07ad972664a6bae33d218814c60 authored over 1 year ago
去除聚合查询sql加limit 1,和FetchSql生成的sql保持一致
73547d7f90c47fd51ed74f67a96d4cf4b497c5fa authored over 1 year ago
73547d7f90c47fd51ed74f67a96d4cf4b497c5fa authored over 1 year ago
去除聚合查询sql加limit 1,和FetchSql生成的sql保持一致
94f7c4b2044f44761933c73030c4eef7fee799aa authored over 1 year ago
94f7c4b2044f44761933c73030c4eef7fee799aa authored over 1 year ago
添加pgsql版本>12的数据库脚本
pg_attrdef.adsrc 属性在pgsql12被移除
官方建议使用pg_get_expr(pg_attrdef.adbin, pg_attrdef.adrelid)获取默认值
模型实例化支持传入任意实体对象
af55970ee87833cf534d04c7e05284680daffb16 authored almost 2 years ago
af55970ee87833cf534d04c7e05284680daffb16 authored almost 2 years ago
改进saveall方法对多主键的支持
5535503b5cb98432743d4510e94ed479d19ad0a6 authored almost 2 years ago
5535503b5cb98432743d4510e94ed479d19ad0a6 authored almost 2 years ago
修复关联输出显示和隐藏不生效BUG
根据文档中所描述的,关联输出可以这样设置:
```php
$list = User::with('profile')->select();
$list->visible(['profil...
改进mongo builder
83dff7faec593c49f43380056d740a30ac4d67c0 authored almost 2 years ago
83dff7faec593c49f43380056d740a30ac4d67c0 authored almost 2 years ago
改进分组count查询对缓存的支持
fdf17cb446d0b8591cc5a046c1e01e9c20caaf33 authored almost 2 years ago
fdf17cb446d0b8591cc5a046c1e01e9c20caaf33 authored almost 2 years ago
调整cacheForce
917fe5fb6d83b468f4624ba1dfdc7817c68d86b9 authored almost 2 years ago
917fe5fb6d83b468f4624ba1dfdc7817c68d86b9 authored almost 2 years ago
增加强制更新缓存方法cacheForce
cb8d338bf39c891cd9956ceac466ee4602a67467 authored almost 2 years ago
cb8d338bf39c891cd9956ceac466ee4602a67467 authored almost 2 years ago
移动lazyFields方法到BaseQuery类
c7c7320d5b046d8a014de72a0bf3c9d886e2544a authored almost 2 years ago
c7c7320d5b046d8a014de72a0bf3c9d886e2544a authored almost 2 years ago
改进getSchemaCacheKey方法
d88c12ae48712b10f37dcf020e72764443df309d authored almost 2 years ago
d88c12ae48712b10f37dcf020e72764443df309d authored almost 2 years ago
多态类型未定义时,返回null
1b7294b0b02dd40c0b682aef5bf3d324419caa38 authored almost 2 years ago
1b7294b0b02dd40c0b682aef5bf3d324419caa38 authored almost 2 years ago
添加返回类型和参数类型
e07df4c8dd3a37acd162a82c522e90077e7e4ee8 authored almost 2 years ago
e07df4c8dd3a37acd162a82c522e90077e7e4ee8 authored almost 2 years ago
修改权限。可以获取软删除字段,用于限制恢复数据时,只恢复指定删除时间的数据。
75f658b308edfcb964252dee8ecfd4028aa894db authored almost 2 years ago
75f658b308edfcb964252dee8ecfd4028aa894db authored almost 2 years ago
清理冗余。
132 行的 `if (empty($data) && 0 !== $data)` 已条件成立,结束运行(`return false`)
c46141ec7e5a3d3603a4a4a426b36bb356b53d28 authored almost 2 years ago
调整json类型转换
b709458bcc595118fa466a0e2b43f36b59b16e7c authored almost 2 years ago
b709458bcc595118fa466a0e2b43f36b59b16e7c authored almost 2 years ago
修复模型设置类型转换为array时的bug
9eff45a4cc5b41ef7095f64652d0fe110ed1302f authored almost 2 years ago
9eff45a4cc5b41ef7095f64652d0fe110ed1302f authored almost 2 years ago
优化模型嵌套访问一对一关联模型
310496bde67c7dc74ffd8c7b9b8272fb8e57fbd0 authored almost 2 years ago
310496bde67c7dc74ffd8c7b9b8272fb8e57fbd0 authored almost 2 years ago
修正
88bae5428695714645a6c7afe9d8443bb2292209 authored almost 2 years ago
88bae5428695714645a6c7afe9d8443bb2292209 authored almost 2 years ago
修正
e23826d9c3e316649c2bb6a45fba9cdaee8e7ace authored almost 2 years ago
e23826d9c3e316649c2bb6a45fba9cdaee8e7ace authored almost 2 years ago
取消lazySave方法
172ff8f14a62f83f5c060c47b704b1d5ce80561b authored almost 2 years ago
172ff8f14a62f83f5c060c47b704b1d5ce80561b authored almost 2 years ago
改进php think optimze:schema 指令无需开启fields_cache
4f5a2f6a71aa42a13a701c3015a762e226673b82 authored almost 2 years ago
4f5a2f6a71aa42a13a701c3015a762e226673b82 authored almost 2 years ago
修改模型访问多层关联模型的bug
15f66380baa8e93d65dbf7c15d8454e96f5a962c authored almost 2 years ago
15f66380baa8e93d65dbf7c15d8454e96f5a962c authored almost 2 years ago
composer信息调整
11167581934a8fb78d27354e5b5f6178ace22ff6 authored almost 2 years ago
11167581934a8fb78d27354e5b5f6178ace22ff6 authored almost 2 years ago
改进批量数组查询
2e1a1a5a0d8f82289428df83fde4d0b554b7d59f authored almost 2 years ago
2e1a1a5a0d8f82289428df83fde4d0b554b7d59f authored almost 2 years ago
修正自动参数绑定
ce9f1d2519d55474bc92160b944240b97f6b2d49 authored almost 2 years ago
ce9f1d2519d55474bc92160b944240b97f6b2d49 authored almost 2 years ago
改进pgsql驱动
4457c035d30e58ef0f5e1ff02d5265da0ff498a5 authored almost 2 years ago
4457c035d30e58ef0f5e1ff02d5265da0ff498a5 authored almost 2 years ago
改进toarray方法
f405b530bb9f172cca3b7af6a9e2b96ceb44fce8 authored almost 2 years ago
f405b530bb9f172cca3b7af6a9e2b96ceb44fce8 authored almost 2 years ago
修正autoInsIDType方法
bcabc4d2bbe055926207a4473f90986c3a455be7 authored almost 2 years ago
bcabc4d2bbe055926207a4473f90986c3a455be7 authored almost 2 years ago
改进datetime字段写入
cdc5d3825be929c48dbcd009ee488c4bc9f63f2d authored almost 2 years ago
cdc5d3825be929c48dbcd009ee488c4bc9f63f2d authored almost 2 years ago
Apply fixes from StyleCI
c6929166edc93f1692e90981a7e0d01b22a59926 authored almost 2 years ago
c6929166edc93f1692e90981a7e0d01b22a59926 authored almost 2 years ago
增加setInc和setDec方法用于数值字段的自增和自减操作 并支持延迟写入
70f775a61648362406b81168eaba8ebf5a777d6d authored almost 2 years ago
70f775a61648362406b81168eaba8ebf5a777d6d authored almost 2 years ago
Apply fixes from StyleCI
abea788ec4558922249fd50c004d4eece3976f3d authored almost 2 years ago
abea788ec4558922249fd50c004d4eece3976f3d authored almost 2 years ago
修正
2a2a4d0a0287a3508f68ad65991f84b71ef949b5 authored almost 2 years ago
2a2a4d0a0287a3508f68ad65991f84b71ef949b5 authored almost 2 years ago
修正
8f388951fedb5fa1965c00bb0ac66998179937e7 authored almost 2 years ago
8f388951fedb5fa1965c00bb0ac66998179937e7 authored almost 2 years ago
match替换switch
1f03c9622ec8785681d3ca5760863b795d576447 authored almost 2 years ago
1f03c9622ec8785681d3ca5760863b795d576447 authored almost 2 years ago
修正destory方法
299e896aa67f774c0d40b76a67b92f34acc79432 authored almost 2 years ago
299e896aa67f774c0d40b76a67b92f34acc79432 authored almost 2 years ago
column方法支持json字段属性
模型对象实例化支持传入对象
653adafb64507c417ea523f8945dd8138e4e69cd authored almost 2 years ago
Apply fixes from StyleCI
6bf1b41030b7d9ed98aa37323132c9a9563e9ffc authored almost 2 years ago
6bf1b41030b7d9ed98aa37323132c9a9563e9ffc authored almost 2 years ago
调整Stringable接口判断
05968471776d627d6dc06190ef89a4d0c5e3b8d4 authored almost 2 years ago
05968471776d627d6dc06190ef89a4d0c5e3b8d4 authored almost 2 years ago
更新PSR版本依赖
4d6875a191b546eb14dd475021785a93df21fce6 authored almost 2 years ago
4d6875a191b546eb14dd475021785a93df21fce6 authored almost 2 years ago
修正
5d8ace11a3a80f37c28aede4d27fc2b17dde1e46 authored almost 2 years ago
5d8ace11a3a80f37c28aede4d27fc2b17dde1e46 authored almost 2 years ago
代码规范
3b84e09f001ab724f0c0f6aa7a8383eab8e7d3ab authored almost 2 years ago
3b84e09f001ab724f0c0f6aa7a8383eab8e7d3ab authored almost 2 years ago
Apply fixes from StyleCI
1f14deace1a211bad108f4186bd5c7143a4175c4 authored almost 2 years ago
1f14deace1a211bad108f4186bd5c7143a4175c4 authored almost 2 years ago
代码调整
b0bf6fa3c9dad6320c519e7fa78a5a2a972e95bf authored almost 2 years ago
b0bf6fa3c9dad6320c519e7fa78a5a2a972e95bf authored almost 2 years ago
取消Connection类insertAll方法的limit参数
8ebf6f5fc953bffc5db3bb520039ac33ee882bb8 authored almost 2 years ago
8ebf6f5fc953bffc5db3bb520039ac33ee882bb8 authored almost 2 years ago
修正MongoConnection
4064c3777d4790efa108680953e572b513cf8528 authored almost 2 years ago
4064c3777d4790efa108680953e572b513cf8528 authored almost 2 years ago
改进table方法
d3bdeaea085f600e6e0f00fcdcaccdfb88d67b75 authored almost 2 years ago
d3bdeaea085f600e6e0f00fcdcaccdfb88d67b75 authored almost 2 years ago
Merge branch '3.0' of github.com:top-think/think-orm into 3.0
063bb9c0267b0cb28bb845e947d20891706b5225 authored almost 2 years ago
063bb9c0267b0cb28bb845e947d20891706b5225 authored almost 2 years ago
修正table获取
936e529563465e33b72482105792c6f2f54a47db authored almost 2 years ago
936e529563465e33b72482105792c6f2f54a47db authored almost 2 years ago
Apply fixes from StyleCI
acb5ea5284e0695111fb29d868991a6d897e1c2d authored almost 2 years ago
acb5ea5284e0695111fb29d868991a6d897e1c2d authored almost 2 years ago
修正Column方法
7b07b40bad28786f7fde80f7b46b6f7e12af2e98 authored almost 2 years ago
7b07b40bad28786f7fde80f7b46b6f7e12af2e98 authored almost 2 years ago
Db类数据类型优化
11350b29f22be006083dd878ab97d1643cdb6858 authored almost 2 years ago
11350b29f22be006083dd878ab97d1643cdb6858 authored almost 2 years ago
ConnectionInterface增加getTableFields接口
21a810308791c02513d9e6187a9479584603b62f authored almost 2 years ago
21a810308791c02513d9e6187a9479584603b62f authored almost 2 years ago
Apply fixes from StyleCI
a9a67794d592385b405f4832bee428b767df1919 authored almost 2 years ago
a9a67794d592385b405f4832bee428b767df1919 authored almost 2 years ago
代码调整
43c91b9513bbd38830375813e2f0e525e51e84ba authored almost 2 years ago
43c91b9513bbd38830375813e2f0e525e51e84ba authored almost 2 years ago
Apply fixes from StyleCI
01f5f2d02cca4bdc58b7b75f658c40e2407d7b99 authored almost 2 years ago
01f5f2d02cca4bdc58b7b75f658c40e2407d7b99 authored almost 2 years ago