RESTfulAPI_DefaultQueryHandler::updateModel
Update databse record or $model
Signature
public function updateModel(String|DataObject
$model,
Integer
$id,
$request )
Parameters
$model
— object- the model or class to update
$id
— object- The ID of the model to update
$request
—
Returns
- DataObject
- The updated model