On Jan 2, 2013, at 11:53 AM, John Anderson wrote: > you can specify the columns: > > q = session.query(Attendee.pk, AttendeeAnswer.response)... > > > > Is there a way to do Attendee.*, AttendeeAnswer.response instead of listing > all individually?
It should work if you put the Table object in there, Attendee.__table__ if you used declarative config. -- 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 sqlalchemy+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/sqlalchemy?hl=en.