King Simon-NFHD78 wrote:
I think you can use bind parameter objects for this:
http://www.sqlalchemy.org/docs/sqlexpression.html#bind-parameter-objects
...and use the query's params method to supply the values.
Indeed, it gives an inkling...
...but how do I wire building the existing query, with the bind
parameters, and then applying it to a session in the same way
session.query does?
(in short, I'm still missing the leaps to make my existing query a
module-level thing, any help to make that happen would be very
gratefully recieved!)
Chris
--
Simplistix - Content Management, Batch Processing & Python Consulting
- http://www.simplistix.co.uk
--
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sqlalchemy?hl=en.