Commit 9f39cad
authored
We have an existing `UNIQUE` index on the `phone` column
(`users_phone_key`) that can be reused for:
1. Exact match queries
2. Prefixed search queries (`phone LIKE '123%'`) or range-based queries
(`phone > '123' AND phone < '123'`)
3. Order by clauses `ORDER BY phone`
`text_pattern_ops` indexes do not support ordering.
1 parent 7345c01 commit 9f39cad
1 file changed
+0
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
308 | 308 | | |
309 | 309 | | |
310 | 310 | | |
311 | | - | |
312 | | - | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
317 | 311 | | |
318 | 312 | | |
319 | 313 | | |
| |||
0 commit comments