Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
k972
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
k972
2y ago
Depending on what database you're using, you might be able to restructure your dynamic queries to fit a static form... WHERE ... AND CASE WHEN ? IS NULL THEN TRUE ELSE col ILIKE ? || '%' END AND CASE WHEN ? IS NULL THEN