[sqlalchemy] Re: Can I write this query with SQLAlchemy?

2008-12-04 Thread Michael Bayer
hi matt - here's that query generated using lexical tables, which are just like Table objects but require less boilerplace for SQL prototyping purposes: from sqlalchemy import * from sqlalchemy.sql import table, column import datetime shift = table('shift', column('employee_id', Integer),

[sqlalchemy] Re: Can I write this query with SQLAlchemy?

2008-12-04 Thread Matt Wilson
Thanks! This is really helpful. On Dec 4, 11:43 am, Michael Bayer [EMAIL PROTECTED] wrote: hi matt - here's that query generated using lexical tables, which are just like   Table objects but require less boilerplace for SQL prototyping purposes: from sqlalchemy import * from