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 am using loopback 3. In which I have model Item and that have embedded object availableQtyBranchWise. I was trying to update the availableQtyBranchWise using $inc but with this operator i got validation error.
I am using loopback 3. In which I have model Item and that have embedded object
availableQtyBranchWise
. I was trying to update theavailableQtyBranchWise
using$inc
but with this operator i got validation error.Item.json
Branch Wise Available Qty Embedded Schema
In DB Data should look like
I was trying to increment, decrement
availableQty
when object exists and add object when does not exist.This is my code where I update the
availableQty
This give me validation error because I am using
But If I use this syntax it works
Please help me. Thanks, in advance
The text was updated successfully, but these errors were encountered: