Hi list,
I think I came across a little problem.... I am still using 0.2.8 (+ flush
patch), so this may have been solved already...
in which case I apologise
When I do
s=tblRace.select(and_(dbRace.c.id==dbRaceLeg.c.id,dbRaceLeg.c.Date>=bindparam("Race_Date")))
lor=conn.execute((s,Race_Date=datetime.date.today())
I get the expected result...
But when I do
s=tblRace.select(and_(dbRace.c.id==dbRaceLeg.c.id,dbRaceLeg.c.Date>=bindparam("Race_Date"))).compile()
lor=conn.execute((s,Race_Date=datetime.date.today())
I get an exception
File "/usr/lib/python2.4/site-packages/sqlalchemy/engine/base.py", line 246,
in execute
return Connection.executors[type(object).__mro__[-2]](self, object,
*multiparams, **params)
KeyError: <class 'sqlalchemy.sql.ClauseVisitor'>
Is this a known/solved problem.... or am I doing something wrong?
Cheers,
François
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---