How to update all predicates

Hi there,

I ran into a situation where I had to update all the predicates(for all the nodes).
Eg: I have an amount predicate, and roughly 1000 records/nodes.
I want to update the amounts. (amount * 100)

How do I do this? I couldn’t find any links or docs which would let me do this?

I also ran through the set command but didn’t find anything useful that would let me update a particular field(predicate) for all the records.

We are working on Conditional Upsert Block which provides you exactly what you want. Upsert (the change is in Conditional Upsert PR) will allow you to make changes to more than one RDFs in a single request. This should be available in v1.1 which we plan to release end of this month. For more details, you can check out the following links -

  • PR for Conditional Upsert #3612 - In Progress
  • PR for Upsert Block #3412 - Already merged to master
  • GitHub issue #3059

Please feel free to let me know if you have more questions or features (functions) that you would like us to support in Upsert Block.

1 Like