Replies: 1 comment
-
I've solved it by debugging but I came across another bug...
I am using the timestamps for update, created and deleted and it is causing the following error, setting $set inside $set src/Query/Builder.php So I had to remove the $set inside my update statement, and leave only |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a PurchaseRequest (like a Cart) and inside I have products...
I am not able to update just the position 0 of the array products.
I tried with:
$purchaseRequest->update(['products' => [$currentProductIndex => $currentProduct]]);
But this replaces the whole products.
I tried with:
$purchaseRequest->update(['products.' . $currentProductIndex => $currentProduct]);
But it doesn't do anything.
Beta Was this translation helpful? Give feedback.
All reactions