Skip to content

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.

4 participants