DB.PHP - PHP ORM

Force insert object to table

$database->path->to->class (\path\to\class &$object, \db\query::insert);

Example:

$database->shop->product->save ($product, \db\query::insert);

See also: Save single object to table