go ahead... be a heretic | |
PerlMonks |
Re^3: Module for substituting complex criteria into hand-written SQL queriesby 1nickt (Canon) |
on Apr 16, 2017 at 21:14 UTC ( [id://1188066]=note: print w/replies, xml ) | Need Help?? |
There is no reason you can't build your parameters based on runtime conditions:
Also, for another approach, remember that you can insert actual SQL into the parameters to a SQLA call, and you could generate *that* SQL snippet based on your run-time conditions. Hope this helps!
The way forward always starts with a minimal test.
In Section
Seekers of Perl Wisdom
|
|