Solar_Sql_Model_Collection::deleteOne()
public
void
Solar_Sql_Model_Collection::deleteOne
( mixed $spec
)
Deletes a record from the database and removes it from the collection.
Parameters
(mixed)
$spec
: If a Solar_Sql_Model_Record, looks up the record in the collection and deletes it. Otherwise, is treated as an offset value (not a record primary key value) and that record is deleted.
Returns
(void)
Description
Deletes a record from the database and removes it from the collection.