mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-08 07:38:48 +01:00
When using `OR` in a where clause, a composite index can't be used. We should use a `UNION` to take advantages of it. Instead, create 2 indexes on each hashed urls and make 2 queries to find an url. It'll be faster than the previous solution.