mobius-js

Class MobiusModel

Object
   |
   +--MobiusModel

class MobiusModel

 
Method Summary
 void close()
           Close the database connection.
 void create(<object> paramsTemp)
           Create a new model.
 void createIndex(<object> params)
           Called automatically in the bootstrapping process, creates indexes for this model.
 void find(<object> query, sort, <function> callback)
           Perorm a query on the database and call the closure provided with the results of the query.
 void init(<object> processingStack, <class> constructor)
           Base class for all models.
 void loadParameters(<object> params)
           Map parameters onto a new instance of this class.
 Object validate(params)
           Validate parameters.


Method Detail

close

void close()

create

void create(<object> paramsTemp)

createIndex

void createIndex(<object> params)

find

void find(<object> query, sort, <function> callback)

init

void init(<object> processingStack, <class> constructor)

loadParameters

void loadParameters(<object> params)

validate

Object validate(params)

mobius-js

Documentation generated by JSDoc on Sat May 15 07:53:00 2010