On Oct 1, 2007, at 8:35 PM, dykang wrote:

>
> I am trying to cut down on time the db spends compiling statements.
> Using bind params
> allows the query to look the same to the db, thus allowing it to not
> parse it again. It's the
> same use case that makes people want to use bind params anywhere. Am I
> missing
> something here? I'm a relative newbie to mysql and sqlalchemy, so I
> may be missing information, but I'm
> assuming that using a bindparam in sqlalchemy will result in a
> prepared statement executed
> using the assigned values that I want. If it is using a prepared
> statement,
> I'd expect the query to look something like
> select * from table where limit=?

we'd have to enhance statement compilation to support this feature  
(its not a big change).



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to