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 <[email protected]>
Signed-off-by: Christoph Wurst <[email protected]>
@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 👍

@MorrisJobke MorrisJobke merged commit 1089ad5 into master 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
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
None yet
Development

Successfully merging this pull request may close these issues.

3 participants