Let's suppose I have a compiled SA expression statement which I want to 
cache to avoid repetitive compilation. Let's also suppose that I can't use 
"literal_binds" because I want to provide parameter values late, after 
getting the compiled query from the cache. 

Is it somehow possible to inject values into compiled query without 
executing it?

Here is a full example:
https://gist.github.com/AndreiPashkin/9b497233e2a7668d0da67dc74d169812

-- 
SQLAlchemy - 
The Python SQL Toolkit and Object Relational Mapper

http://www.sqlalchemy.org/

To post example code, please provide an MCVE: Minimal, Complete, and Verifiable 
Example.  See  http://stackoverflow.com/help/mcve for a full description.
--- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sqlalchemy/d06b2b8f-f267-463f-9bca-efc9b431e13c%40googlegroups.com.

Reply via email to