corresponding ActiveRecordCompanion object
corresponding ActiveRecordCompanion object
Callback method of after create.
Callback method of after create.
You can override this method and implement logic if necessary. Nothing is done by default. This is not called if failed to create.
Callback method of after delete.
Callback method of after delete.
You can override this method and implement logic if necessary. Nothing is done by default. This is not called if failed to delete.
Callback method of after create and update.
Callback method of after create and update.
You can override this method and implement logic if necessary. Nothing is done by default. This is not called if failed to save.
Callback method of after update.
Callback method of after update.
You can override this method and implement logic if necessary. Nothing is done by default. This is not called if failed to update.
Callback method of before create.
Callback method of before create.
You can override this method and implement logic if necessary. Nothing is done by default.
Callback method of before delete.
Callback method of before delete.
You can override this method and implement logic if necessary. Nothing is done by default.
Callback method of before create and update.
Callback method of before create and update.
You can override this method and implement logic if necessary. Nothing is done by default.
Callback method of before update.
Callback method of before update.
You can override this method and implement logic if necessary. Nothing is done by default.
Delete model.
Delete model.
before and after callbacks are available.
Model creation.
Model creation. Implement creation logic and return result of success or failure
Model deletion.
Model deletion. Implement deletion logic and return result of success or failure
Model update.
Model update. Implement update logic and return result of success or failure
primary key
primary key
Save model.
Save model.
If isNewInstance flag is true, it calls doCreate method. If not, it calls doUpdate method. before and after callbacks are available.