Uploaded image for project: 'Hibernate OGM'
  1. OGM-1474

Cypher operator CREATE UNIQUE is deprecated

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.4.0.Beta1
    • Component/s: neo4j
    • Labels:
      None

      Description

      From StackOverflow:

      CREATE UNIQUE is set to be completely replaced by MERGE. So your syntax would be :

      MATCH (r:Person {name:'Jon'})
      MATCH (s:Person {name:'Ana'})
      MERGE (r)-[:FRIEND_OF]->(s)
      

      We need to update the cypher queries we generate.

        Attachments

          Issue links

            Activity

              People

              • Assignee:
                davided Davide D'Alto
                Reporter:
                davided Davide D'Alto
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: