Neo4j Add/update properties if node exists

前端 未结 3 1624
陌清茗
陌清茗 2020-12-29 08:11

I want to be able to update/enlarge my Neo4j database by uploading a newer version of that database OR part of that database.

Of what I\'ve found I can

3条回答
  •  一生所求
    2020-12-29 08:28

    How to add multiple properties to already existed node

    #payload={"query" : 
          " MATCH (t:TvSeries{id:{id})SET t.next_episode_to_air_air_date:
    {next_episode_to_air_air_date},next_episode_to_air_episode_number:
    {next_episode_to_air_episode_number},next_episode_to_air_id:
    {next_episode_to_air_id},next_episode_to_air_name:
    {next_episode_to_air_name},next_episode_to_air_overview:
    {next_episode_to_air_overview},next_episode_to_air_production_code:
    {next_episode_to_air_production_code},next_episode_to_air_season_number:
    {next_episode_to_air_season_number},next_episode_to_air_show_id_id:
    {next_episode_to_air_show_id},next_episode_to_air_still_path: 
    {next_episode_to_air_still_path},next_episode_to_air_vote_average: 
    {next_episode_to_air_vote_average},next_episode_to_air_vote_count: 
    {next_episode_to_air_vote_count}RETURN t"}
    
            payload['params'] = params
            response_json = callNeo4j(payload, headers)
    

提交回复
热议问题