Expression index
An index on email cannot answer WHERE lower(email) = ... because the query compares a computed value. Index the expression itself.
task
Make WHERE lower(email) = 'a@b.c' use an index.
Run a query to see rows here.
Run EXPLAIN on the statement under the cursor: Plan tab, button Explain.
No tables yet.
An index on email cannot answer WHERE lower(email) = ... because the query compares a computed value. Index the expression itself.
Make WHERE lower(email) = 'a@b.c' use an index.