Re: [SQLObject] two beginner's questions
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
|
From: Nick <ni...@dd...> - 2003-04-29 05:08:38
|
On Mon, 2003-04-28 at 23:33, Luke Opperman wrote:
> class AbstractObject(SQLObject):
> _columns = StringCol('lang')
>
> class Z(AbstractObject):
> _columns = AbstractObject._columns + [StringCol('nother')]
>
> class Y(AbstractObject):
> _columns = AbstractObject._columns + [StringCol('further')]
>
> And all of this actually seems to work in SQLObject 0.3, tested using
> DBMConnection. Wow. What do you say to that, Nick? :)
Okay, well that's cool :) I've been working with classic objects for so
long (since '97) that I'm still trying to get a handle on the new style
classes. SQLObject is really complex in that area, and I'm still trying
to grok it all (I've only been looking at it for about 3 days tho).
Hopefully I can get up to speed soon to be able to contribute something
useful :)
Nick
|