Skip to content

Conversation

@ChristophWurst
Copy link
Member

  • Resolves: #

Summary

Searching on CardDAV is very expensive as the full address book is loaded into memory. This pushes filtering down into the DB.

TODO

Checklist

'cp.value',
$selectQuery->createNamedParameter('%' . $matchFilter['value'] . '%', IQueryBuilder::PARAM_STR) // TODO: escaping
),
'starts-with' => $selectQuery->expr()->eq(
Copy link
Member

Choose a reason for hiding this comment

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

Since you use '%' still like?
Same on ends-with?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: 🏗️ In progress

Development

Successfully merging this pull request may close these issues.

3 participants