Skip to content
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

Rename IQueryBuilder::executeUpdate to IQueryBuilder::executeStatement #26877

Merged
merged 2 commits into from May 5, 2021

Conversation

ChristophWurst
Copy link
Member

@ChristophWurst ChristophWurst commented May 5, 2021

Because executeUpdate wasn't a great name. And in DBAL they also use
executeStatement more consistently now.

Ref doctrine/dbal#4607

This is a follow-up to @rullzer's #23665.

To lower the breakage of apps that were adapted early I added a monkey patched compatibility with a method of the old name in the implementation.

Because executeUpdate wasn't a great name. And in DBAL they also use
executeStatement more consistently now.

Ref doctrine/dbal#4607

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst ChristophWurst added this to the Nextcloud 22 milestone May 5, 2021
@ChristophWurst ChristophWurst self-assigned this May 5, 2021
@ChristophWurst ChristophWurst added this to TO REVIEW (max 4 PRs) in Christoph's Tasks via automation May 5, 2021
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
@ChristophWurst
Copy link
Member Author

This will also better align with \OCP\IDBConnection::executeStatement

Copy link
Member

@MorrisJobke MorrisJobke left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine with me 👍

Christoph's Tasks automation moved this from TO REVIEW (max 4 PRs) to TO INTEGRATE May 5, 2021
@MorrisJobke MorrisJobke merged commit 1089ad5 into master May 5, 2021
Christoph's Tasks automation moved this from TO INTEGRATE to DONE May 5, 2021
@MorrisJobke MorrisJobke deleted the chore/query-builder-execute-statement branch May 5, 2021 12:19
nickvergessen added a commit to nickv-nextcloud/lifeline that referenced this pull request May 8, 2021
Signed-off-by: Joas Schilling <coding@schilljs.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3. to review Waiting for reviews enhancement
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants