On Sun, Jan 14, 2007 at 03:59:47PM +0100, Daniel Nogradi wrote:
> import sqlobject
> class t( sqlobject.SQLObject ):
> s = sqlobject.StringCol( length=10 )
> t.s._kw[ 'length' ]
> --------------------------------------------------------
>
> then this throws an exception saying " 'property' object has no
> attribute '_kw' ". I guess it's because of the magic involved in class
> creation.
Exactly. After the magic the StringCol object is converted to
SOStringCol object which you have to look up as
t.sqlmeta.columns['s']
Oleg.
--
Oleg Broytmann http://phd.pp.ru/ [EMAIL PROTECTED]
Programmers don't die, they just GOSUB without RETURN.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
sqlobject-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss