Model creation.
Model creation. Implement creation logic and return result of success or failure
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.
destroy with lock
destroy with lock
update with lock
update with lock
Save model.