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 also see that behaviour and it is indeed a bit confusing. I think the recordset(s) is the right place for this data to be populated and the presence of the output property is confusing. If you insert many rows, this should be an array of data, not a fixed object, so the implied access of inserted.output.ID would be incorrect.
I'll do some digging into the output property and what we can / should do with it.
Perhaps, I'm misunderstanding how the output method works but here is the code I am using:
Executing the following code
Expected behaviour:
I expected the value returned to be accessed using:
inserted.output
Actual behaviour:
In order to actually access the output value I have to use the recordset field:
inserted.recordset[0].ID
The output field does show the ID property but the value is set to null.
Configuration:
Software versions
The text was updated successfully, but these errors were encountered: