Oops.  I didn't see an engine argument in the signature so I didn't actually try it.  I'll look at kwargs more closely next time. :)
 
-Jonathan

 
On 12/30/05, Michael Bayer <[EMAIL PROTECTED]> wrote:
what you have below there is supposed to work.

 
In fact I just tried it (with "count(1)" since I dont know the sqlite equivalent of now()) and it does the trick.

On Dec 31, 2005, at 12:16 AM, Jonathan Ellis wrote:

How can I tell select about an SQLEngine for performing queries not bound to a table?  I'd like to write something like
 
from sqlalchemy import *
engine = create_engine(...)
timestamp = select([func.now()], engine=engine).scalar()

--
Jonathan Ellis
http://spyced.blogspot.com

 



--
Jonathan Ellis
http://spyced.blogspot.com

Reply via email to