While I used InnoDB tables I caught FK constraint exceptions from InnoDB engine.
I know that Yii can fetch related tables according to relations(). Besides I need to check referential integrity during other CRUD operations - such as insert, update and delete.
Is there some Yii native mechanism to perform this? Or I should write additional code for this checking?
I know that Yii can fetch related tables according to relations(). Besides I need to check referential integrity during other CRUD operations - such as insert, update and delete.
Is there some Yii native mechanism to perform this? Or I should write additional code for this checking?