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
In the handleData method, I update the statuses of Product and Customer, but in the subsequent records, they are received as not updated. Could you please advise on what I can do?
Currently, even if the parent has already been updated in subsequent review nodes, I still get the old data.
The text was updated successfully, but these errors were encountered:
When you call session.run(), a transaction is created in the database. So, the data in the stream are from the point where the transaction was created, no changes in future transactions will affect this stream.
A workaround you can use is keeping track of what did you changed in a local state, this way you avoid to update twice the same Node.
Here is a method used nodejs-driver:
In the handleData method, I update the statuses of Product and Customer, but in the subsequent records, they are received as not updated. Could you please advise on what I can do?
Currently, even if the parent has already been updated in subsequent review nodes, I still get the old data.
The text was updated successfully, but these errors were encountered: