| 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. |
| 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. | |
| 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. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Wed Mar 8 10:18:59 2006 | http://epydoc.sf.net |