Record::delete - jcobban/Genealogy GitHub Wiki
$record->delete()
Up: class Record
This method deletes the database record associated with this instance of Record if necessary. If the record was deleted this returns 1. If the record did not need to be deleted this returns 0.
This returns false
if the database cannot be updated, for example because the current user is not authorized to update the database. Call $this->getErrors()
to get a string explaining why the database was not updated. The method returns 1 if the record has been deleted from the database. The method returns 0 if the record was not deleted. Call $this->getLastSqlCmd()
to get a string containing the command that was used to update the database.
Next: $record->compare($other)