cancel
Showing results for 
Search instead for 
Did you mean: 

Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.

How to edit node properties programmatically?

I want to edit node properties via flask-api but till now didn't found any solution.
The main problem is that if I edit a new property using SET clause https://neo4j.com/docs/cypher-manual/current/clauses/set/ then how to do it dynamically so that my code dont get obselete.

For example, I wish add a property in Genre (Movie template) called "Genre_style" dynamically.
How to do it ?
Here below is the code snippet from movie template which has id , name property and I wish to add "Genre_style" property dynamically.

class GenreModel(Schema):

type = 'object'

properties = {

    'id': {

        'type': 'integer',

    },

    'name': {

        'type': 'string',

    }

}
1 REPLY 1

You can use apoc's procedure to achieve that, see here