Class Index | File Index

Classes


Class OneToMany


Extends _Association.
Class to define a one to many association.
NOT to be instantiated directly Its just documented for reference.
Defined in: oneToMany.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Fields borrowed from class _Association:
fetchType, filter, leftKey, model, orderBy, rightKey
Method Summary
Method Attributes Method Name and Description
 
diff(next, reference)
Compares our associtaion and handle any creation, removal, reloading of the associated model.
 
inject(parent, name)
Methods borrowed from class _Association:
fetch, isEager
Class Detail
OneToMany()
Method Detail
diff(next, reference)
Compares our associtaion and handle any creation, removal, reloading of the associated model.
Parameters:
{Function} next
funciton to call to pass control up the middleware chain.
{Object} reference
to the acting association class.

inject(parent, name)
SEE _Association#inject.
Adds the following methods to each model.
Parameters:
parent
name

Documentation generated by JsDoc Toolkit 2.4.0 on Sat Jun 11 2011 03:16:40 GMT-0500 (CDT)