On Sun, Feb 13, 2011 at 03:11:14PM +0100, Daniel Fetchinson wrote:
> Now that we are at it I was wondering whether
> something similar could be adopted for tables too. The order in which
> the tables are defined, class table1( SQLObject ), class table2(
> SQLObject ), etc, etc, could also be significant and one might want to
> remember this ordering. And since there is all sorts of metaclass
> trickery involved with class creation, maybe the ordering could be
> stored.
>
> What do you think?
Yes, it could be done in a metaclass or in the constructor.
Oleg.
--
Oleg Broytman http://phdru.name/ ph...@ph...
Programmers don't die, they just GOSUB without RETURN.
|