Re: [SQLObject] SQLObject introspection: help!
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
From: Carlos R. <car...@gm...> - 2005-03-10 15:38:29
|
On Thu, 10 Mar 2005 16:01:53 +0300, Oleg Broytmann <ph...@ph...> wrote: > On Thu, Mar 10, 2005 at 09:43:39AM -0300, Carlos Ribeiro wrote: > > -- In a data-oriented implementation, we either (a) create a new dict > > for the full column set of the class (including ancestor fields) > > > > ----> Option (a) is interesting -- it solves the iteration & find > > column problem, at the cost of little space, and is fast. > > That were my thoughts from the very beginning. I personally in favour > of this solution. In SQLObject class a new member is just a pointer to > _columnDict. In InheritableSQLObject it should be a separate member. Ok. I'll see what I can do & I'll provide a patch. > > (btw, I don't understand the need for a underscore prefix on sqlmeta > > contents. They're already inside a special structure. > > sqlmeta.columnDict is better IMHO) > > Yes, I think so, too. Time to ask Ian, or is it fine to rename it? (I guess the former :-) -- Carlos Ribeiro Consultoria em Projetos blog: http://rascunhosrotos.blogspot.com blog: http://pythonnotes.blogspot.com mail: car...@gm... mail: car...@ya... |