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

Reply via email to