DB.PHP - PHP ORM

Delete single object

$database->path->to->class->delete (\path\to\class $object);

Example:

$product = $database->shop->product->load (1);

$database->shop->product->delete ($product);