Home | Trees | Index | Help |
|
---|
Package pydo :: Module base |
|
Classes | |
---|---|
ForeignKey |
descriptor that enables succinct creation of foreign key attributes. |
PyDO |
Base class for PyDO data classes. |
_metapydo |
metaclass for _pydobase. |
Function Summary | |
---|---|
returns a dictionary of PyDO objects created automatically by schema introspection, keyed by class name. | |
ManyToMany(this_side,
pivot_table,
this_pivot_side,
that_pivot_side,
kls,
that_side)
| |
function to define an accessor to a 1-to-many relation. | |
private method for cleaning a set or dict of any items that aren't in a field list (or dict); needed for handling attribute inheritance for projections |
Variable Summary | |
---|---|
SRE_Pattern |
_group_pat = \s*group
|
Function Details |
---|
autoschema(alias, schema=None, guesscache=True, module=None, sequence_mapper=None)returns a dictionary of PyDO objects created automatically by schema introspection, keyed by class name. Typical usage: globals().update(autoschema('myalias')) The PyDO objects created are extremely bare, but may be enough for quick scripts. If you want to pickle them, pass in a module for them to live in for the "module" parameter. |
OneToMany(this_side, that_side, kls)function to define an accessor to a 1-to-many relation. |
_restrict(flds, coll)private method for cleaning a set or dict of any items that aren't in a field list (or dict); needed for handling attribute inheritance for projections |
Variable Details |
---|
_group_pat
|
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Wed Mar 8 10:18:59 2006 | http://epydoc.sf.net |