I found a recipe on stackoverflow for turning a query instance into a 
string, including parameters.  I only do this for testing purposes and the 
implementation is here:

https://bitbucket.org/rsyring/sqlalchemybwc/src/292597b37736/sqlalchemybwc/lib/testing.py

However, I just upgraded to 0.7.5 and it would appear this recipe does not 
handle LIMIT/OFFSET becoming parameterized.  I get the following when using 
the function:

"...persons.last_name AS persons_last_name FROM persons LIMIT :param_1 
OFFSET :param_2"

I'm in over my head on SA internals on this one and would appreciate 
suggestions.

Thanks in advance.

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/sqlalchemy/-/ryYu6nVG-RQJ.
To post to this group, send email to sqlalchemy@googlegroups.com.
To unsubscribe from this group, send email to 
sqlalchemy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en.

Reply via email to