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

refactor(carddav): Use even earlier return and SQL's WHERE IN #41474

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

ChristophWurst
Copy link
Member

Summary

  • Early return can operate on the input array
  • SQL can check be used to check for address book ID inclusion

Found while reviewing #41457.

Checklist

@ChristophWurst ChristophWurst added 3. to review Waiting for reviews feature: dav feature: carddav Related to CardDAV internals labels Nov 14, 2023
@ChristophWurst ChristophWurst self-assigned this Nov 14, 2023
@ChristophWurst ChristophWurst changed the title refactor(caldav): Use even earlier return and SQL's WHERE IN refactor(carddav): Use even earlier return and SQL's WHERE IN Nov 14, 2023
* Early return can operate on the input array
* SQL can check be used to check for address book ID inclusion

Signed-off-by: Christoph Wurst <[email protected]>
@ChristophWurst ChristophWurst force-pushed the refactor/carddav/earlier-return-sql-where-in branch from fa8e248 to 5cdbd10 Compare November 15, 2023 13:50
@ChristophWurst ChristophWurst added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Nov 15, 2023
@ChristophWurst ChristophWurst merged commit d06ee45 into master Nov 15, 2023
@ChristophWurst ChristophWurst deleted the refactor/carddav/earlier-return-sql-where-in branch November 15, 2023 16:16
@blizzz blizzz mentioned this pull request Nov 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish feature: carddav Related to CardDAV internals feature: dav
Projects
Development

Successfully merging this pull request may close these issues.

3 participants