Home | Trees | Indices | Help |
|
---|
|
object --+ | type --+ | Table
A metaclass used to represent the tables of a database.
Intstances of a table class are stored in the rows attribute, indexed by their primary key. For instance, Slide.rows['foobar'] accesses the instance 'foobar' from the Slide class, which uses the Table metaclass.
Intstances can also be accessed like a dictionary (e.g. Slide['foobar']), or like attributes (e.g. Slide.foobar) - this comes in handy when scripting slides for a large scale video game.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from Inherited from |
|
|||
Inherited from Inherited from |
|
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Jan 20 14:56:50 2010 | http://epydoc.sourceforge.net |