-
-
Notifications
You must be signed in to change notification settings - Fork 46
Rename batchInsert() to insertBatch() and change paremeters order
#829
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…e` and `CommandInterface`
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #829 +/- ##
============================================
- Coverage 99.56% 99.44% -0.13%
- Complexity 1320 1323 +3
============================================
Files 64 64
Lines 3246 3251 +5
============================================
+ Hits 3232 3233 +1
- Misses 14 18 +4 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Add info to UPGRADE.md and changelog
src/Command/AbstractCommand.php
Outdated
| * | ||
| * @psalm-param BatchValues $rows | ||
| * | ||
| * @deprecated Use (@see insertBatch()) instead. It will be removed in version 3.0.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After merge PR need to create new issue about remove it.
| * @psalm-param BatchValues $rows | ||
| * @psalm-param ParamsType $params | ||
| * | ||
| * @deprecated Use (@see insertBatch()) instead. It will be removed in version 3.0.0. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
After merge PR need to create new issue about remove it.
Done |
batchInsert()toinsertBatch()inDMLQueryBuilderInterfaceandCommandInterface$table, $columns, $rowsto$table, $rows, $columns[]for$columnsparameterFrom
batchInsert(string $table, array $columns, iterable $rows)to
insertBatch(string $table, iterable $rows, array $columns = [])Related PRs