Commit c99d05c
committed
query-optimization: add case-insensitive text search and apostrophe escaping guidance
Fixes #41. Two recurring SQL generation errors observed in tpl-ca logs:
- LIKE on uppercase name fields returning zero results (missing lower())
- Apostrophes in site names causing parse errors (need doubled quotes)1 parent 635727d commit c99d05c
1 file changed
Lines changed: 19 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
0 commit comments