Re: [SQLObject] Get an Object as a Dict
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Bill D. <de...@se...> - 2007-05-29 16:53:32
|
Bill Campbell wrote: > On Tue, May 29, 2007, Bill Denney wrote: > >> I'm wanting to get an object as a dict similar to: >> > I *THINK* you can say this in current versions of sqlobject: > > d = someinstance.sqlmeta.asDict() Thank you, that is very similar to what I'm wanting, and it helps a lot. The only difference is something I forgot to specify in the first e-mail: I'm also wanting the joins from the object (specifically I'm using RelatedJoins, but in general I'd like 'em all). Is there a way to get the joins, too? Thanks, Bill |