31
Dynamic named queries in perspective
planned
A
Ankit Karwa
Perspective right now only supports named queries in query bindings. It would be tremendously useful to allow use of dynamic named queries by binding them to params/expressions. Without this, its impossible to templatize something with named query like a table.
Log In
b
betti francesco
Sorry I'm missing something maybe: isn't the system.db.runNamedQuery enough to do this?
B
Brian Karabinchak
betti francesco: Personally I try to avoid scripting if a binding is capable of doing the same thing. So having an expression that determines what namedquery to run, and having a table data property bind what named query it runs on that expression would be a different way to achieve what your script would.
P
Paul Griffith
planned
P
Paul Griffith
under review