Skip to content

Latest commit

 

History

History
37 lines (30 loc) · 570 Bytes

property-tests.adoc

File metadata and controls

37 lines (30 loc) · 570 Bytes

Property Tests

Table of Contents

Schema

type Person {
  id : ID! @property(name:"an-id")
  name: String @property(name:" a name ")
}
type Query {
  person : [Person]
}

Tests

rename property

GraphQL-Query
{ person(id:"32",name:"Jane") { name }}
Cypher params
{"personId":"32","personName":"Jane"}
Cypher
MATCH (person:Person) WHERE person.`an-id` = $personId AND person.` a name ` = $personName RETURN person { name:person.` a name ` } AS person