top-think / think-orm

Think ORM——the PHP Database&ORM Framework
Apache License 2.0
416 stars 173 forks source link

修正mongo事务执行错误 #462

Closed sunkangchina closed 1 year ago

sunkangchina commented 1 year ago

$query改为$mongoQuery。

MongoDB\Driver\Manager::executeQuery(): Argument #2 ($zquery) must be of type MongoDB\Driver\Query, think\db\Mongo given

codecov-commenter commented 1 year ago

Codecov Report

Patch and project coverage have no change.

Comparison is base (10528eb) 11.63% compared to head (d983a77) 11.63%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## 2.0 #462 +/- ## ========================================= Coverage 11.63% 11.63% Complexity 2978 2978 ========================================= Files 63 63 Lines 7133 7133 ========================================= Hits 830 830 Misses 6303 6303 ``` | Flag | Coverage Δ | | |---|---|---| | unittests | `11.63% <0.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=top-think#carryforward-flags-in-the-pull-request-comment) to find out more. | [Impacted Files](https://app.codecov.io/gh/top-think/think-orm/pull/462?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=top-think) | Coverage Δ | | |---|---|---| | [src/db/connector/Mongo.php](https://app.codecov.io/gh/top-think/think-orm/pull/462?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=top-think#diff-c3JjL2RiL2Nvbm5lY3Rvci9Nb25nby5waHA=) | `0.00% <0.00%> (ø)` | |

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.