You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm not sure how updating is suppose to work. Normally to update a model with Eloquent you would do something like:
Customer::where('id', 1)->update([
// ...
]);
However, this doesn't appear to be working and results in the following error:
{
"message": "Call to a member function update() on array",
"exception": "Exception",
"file": "/vendor/cristal/php-api-wrapper/src/Builder.php",
"line": 241
}
Is there a correct way to update or is this a bug?
The text was updated successfully, but these errors were encountered:
I'm not sure how updating is suppose to work. Normally to update a model with Eloquent you would do something like:
However, this doesn't appear to be working and results in the following error:
Is there a correct way to update or is this a bug?
The text was updated successfully, but these errors were encountered: