[sqlalchemy] Re: Efficient dictificationof result sets

2008-12-19 Thread az
gt; -Original Message- > > From: sqlalchemy@googlegroups.com > > [mailto:sqlalch...@googlegroups.com] On Behalf Of Andreas Jung > > Sent: 19 December 2008 06:30 > > To: sqlalchemy@googlegroups.com > > Subject: [sqlalchemy] Re: Efficient dictificationof result sets

[sqlalchemy] Re: Efficient dictificationof result sets

2008-12-19 Thread King Simon-NFHD78
> -Original Message- > From: sqlalchemy@googlegroups.com > [mailto:sqlalch...@googlegroups.com] On Behalf Of Andreas Jung > Sent: 19 December 2008 06:30 > To: sqlalchemy@googlegroups.com > Subject: [sqlalchemy] Re: Efficient dictificationof result sets > >

[sqlalchemy] Re: Efficient dictificationof result sets

2008-12-18 Thread Andreas Jung
On 19.12.2008 2:57 Uhr, Michael Bayer wrote: > > On Dec 18, 2008, at 3:04 PM, Andreas Jung wrote: > >> On 10.12.2008 20:36 Uhr, Michael Bayer wrote: >>> On Dec 10, 2008, at 2:27 PM, Andreas Jung wrote: >>> Hi there, is there some more efficient way for dictifying a resultset other >>

[sqlalchemy] Re: Efficient dictificationof result sets

2008-12-18 Thread Michael Bayer
On Dec 18, 2008, at 3:04 PM, Andreas Jung wrote: > On 10.12.2008 20:36 Uhr, Michael Bayer wrote: >> >> On Dec 10, 2008, at 2:27 PM, Andreas Jung wrote: >> >>> Hi there, >>> >>> is there some more efficient way for dictifying a resultset other >>> than >>> >>> lst = list() >>> for row in sessio

[sqlalchemy] Re: Efficient dictificationof result sets

2008-12-18 Thread Andreas Jung
On 10.12.2008 20:36 Uhr, Michael Bayer wrote: > > On Dec 10, 2008, at 2:27 PM, Andreas Jung wrote: > >> Hi there, >> >> is there some more efficient way for dictifying a resultset other than >> >> lst = list() >> for row in session.query(...).all(): >> >> d = self.__dict__.copy() >> for k

[sqlalchemy] Re: Efficient dictificationof result sets

2008-12-10 Thread Michael Bayer
On Dec 10, 2008, at 2:27 PM, Andreas Jung wrote: > Hi there, > > is there some more efficient way for dictifying a resultset other than > > lst = list() > for row in session.query(...).all(): > > d = self.__dict__.copy() > for k in d.keys(): > if k.startswith('_sa'): >