-
Notifications
You must be signed in to change notification settings - Fork 23
Description
is there any way to see what is being produced?
I tried mess about with IUpdateEntityRequestBuilder but could not work it out.
The main reason I have three requests below but first two fail if does not exist as field does not exist. wish to debug but can't see if something I'm doing or if there would be another way i could be make the fluent api to produce different request with SET / ADD, But at moment, don't know how see what my changes make will effect it.
UpdateItem()
.WithPrimaryKey(inventoryItem.PartitionKey,inventoryItem.SortKey)
.On(x => x.Quantity).Increment(inventoryItem.Quantity)
UpdateItem()
.WithPrimaryKey(inventoryItem.PartitionKey,inventoryItem.SortKey)
.On(x => x.Quantity).AssignSum(x => x.Quantity, inventoryItem.Quantity)
UpdateItem()
.WithPrimaryKey(inventoryItem.PartitionKey,inventoryItem.SortKey)
.On(x => x.Quantity).Assign(x => x.Quantity, inventoryItem.Quantity)
.WithReturnValues(ReturnValues.AllNew)