t.r.HasMany(Relationship) : class documentation

Part of twistar.relationships View In Hierarchy

A class representing the has many relationship.

Split Table into Classes Show Methods in One Table

Line # Kind Name Docs
108 Method get Get the objects that caller has.
122 Method count Get the number of objects that caller has.
176 Method set Set the objects that caller has.
194 Method clear Clear the list of all of the objects that this one has.
136 Method _generateGetArgs Undocumented
151 Method _set_polymorphic Undocumented
163 Method _update Undocumented

Inherited from Relationship:

Line # Kind Name Docs
21 Method __init__ Constructor.
Line # Kind Name Docs
21 Method __init__ Constructor.
194 Method clear Clear the list of all of the objects that this one has.
122 Method count Get the number of objects that caller has.
108 Method get Get the objects that caller has.
176 Method set Set the objects that caller has.
136 Method _generateGetArgs Undocumented
151 Method _set_polymorphic Undocumented
163 Method _update Undocumented
def get(self, **kwargs):
Get the objects that caller has.
ParameterskwargsThese could include limit, orderby, or any others included in DBObject.find. If a where parameter is included, the conditions will be added to the ones already imposed by default in this method.
ReturnsA Deferred with a callback value of a list of objects.
def count(self, **kwargs):
Get the number of objects that caller has.
ParameterskwargsThese could include limit, orderby, or any others included in DBObject.find. If a where parameter is included, the conditions will be added to the ones already imposed by default in this method.
ReturnsA Deferred with the number of objects.
def _generateGetArgs(self, kwargs):
Undocumented
def _set_polymorphic(self, others):
Undocumented
def _update(self, _, others):
Undocumented
def set(self, others):
Set the objects that caller has.
ReturnsA Deferred.
def clear(self):
Clear the list of all of the objects that this one has.
API Documentation for twistar, generated by pydoctor at 2012-06-12 10:00:49.