Method | Description | |
---|---|---|
defaultScope ( ) : array | Returns the default named scope that should be implicitly applied to all queries for this model. | |
delete ( ) : boolean | Deletes the row corresponding to this active record. | |
hardDelete ( ) : boolean | Hard deletes the record. |
public defaultScope ( ) : array | ||
return | array | the query criteria. |
public hardDelete ( ) : boolean | ||
return | boolean | whether the deletion is successful. |