db\ActiveRecord deleteInternal()

deleteInternal() protected method

Deletes an ActiveRecord without considering transaction.

protected integer|false deleteInternal ( )
return integer|false

The number of rows deleted, or false if the deletion is unsuccessful for some reason. Note that it is possible the number of rows deleted is 0, even though the deletion execution is successful.

throws yii\db\StaleObjectException
doc_Yii
2016-10-30 16:56:18
Comments
Leave a Comment

Please login to continue.