I really like this. To push those bindings into an array does the trick. In this way, I am taking the full benefit of database binding, and yet allow me to construct the query on fly.
I am going with this solution. Thank you very much!
Oh that 1=1 is neat.
In reply to Re^2: Looking for neater solution with dynamic query
by pg
in thread Looking for neater solution with dynamic query
by pg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |