db\ActiveRecordInterface delete()

delete() public abstract method

Deletes the record from the database.

public abstract integer|boolean delete ( )
return integer|boolean

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

doc_Yii
2016-10-30 16:56:24
Comments
Leave a Comment

Please login to continue.