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
When updating a relationship with the updateRelationship method either through an instance or the model itself it is not possible to know if the update was successfull or if for example the target was icorrect.
I tried updating the relationship of a user with the function below and I could not find a value on the result object that indicated if the update was successfull.
For me the records array in the result was always an empty list even when the update was successfull. The updateStatistics also did not change between an update that changed the relationship and an update that did not change anything. Is it possible to return the number of updates that got executed so that we can decide if the update was successfull?
When updating a relationship with the
updateRelationship
method either through an instance or the model itself it is not possible to know if the update was successfull or if for example the target was icorrect.I tried updating the relationship of a user with the function below and I could not find a value on the result object that indicated if the update was successfull.
For me the
records
array in the result was always an empty list even when the update was successfull. TheupdateStatistics
also did not change between an update that changed the relationship and an update that did not change anything. Is it possible to return the number of updates that got executed so that we can decide if the update was successfull?The text was updated successfully, but these errors were encountered: