Deleting a record but the data is retained.
Last updated 1 month ago
Usage:
$db->{table}->softDelete($where);
$isDeleted = $db->news->softDelete(1); // or $isDeleted = $db->news->softDelete(array('name' => 'Test News'));
Return:
// if successful true // else false
Looking for the other parameters?