0
votes

I am trying to learn GraphQL with Neo4j. I am having trouble understanding how to generate a graphql query to update a relationship between nodes

Below are the Mutations auto generated by neo4j-graphql.js to create a relationship between two objects

enter image description here

Below is the schema

enter image description here

It would be really great if someone can explain how to pass the arguments for the AddUSAIsequal mutation.

Appreciate any help!

1

1 Answers

0
votes

I found the solution

mutation{
  AddUSAIsequal(from:{
    fieldFormat:""
  }
    to:{
      createdDate:""
    }
  ){
    from{
      fieldName
    }
    to{
      fieldName
    }
  }
}