Function Index
populate the instance from a ResultSet. do the actual insert/update,used by save method. add a relation between this object to another object add a listner on a specific event close the database connection. close the ResultSet,this will be done automaticlly if the ResultSet is iterated to the end. create a copy of this object create a copy of this object create a copy of this object do a COUNT on the model create the many to many table create the table for this model,creating triggers for forigenkeys and creating many-to-many tables if needed. create triggers to inforce forigenkeys. get the names of the tables to checked if they exist return true if all of them exist else return false drop the many to many table drop the table and all associate triggers. drop triggers related to the table. a function to iterate the ResultSet like ruby each. execute a sql query on the database execute a sql query on the database and close it. fires the event return a open database connection return the first row of the ResultSet,will return false if the ResultSet is empty. return the related model class return the related model class return the related model class load objects from a array to the database. return the next row in the ResultSet as a model instance,if it is the last row it will return false. refresh the model data from database. delete a relation between this object and other object do a DELETE on the related table remove the instance from the database remove the listner on a specific event
do a SELECT on the related table do a SELECT on the related table do a SELECT on the model return the ResultSet as Array of model instances return the sql string for this field return the sql string for this field return the sql string for this field execute a function while running queries in a transaction. wrap a function with a onBefore and onAfter events |