Head's Up! These forums are read-only. All users and content have migrated. Please join us at community.neo4j.com.
05-11-2019 06:27 PM
Hello,
I'm getting started with GraphQL. Long time Neo4j user.
My question is how does one use multiple labels?
How would I do the following in the Schema?
CREATE (n:Person:Admin)
SET n = {name: 'John Smith'}
RETURN n
QUERY
MATCH (n:Person:Admin)
WITH n, LABELS(n) AS labels
RETURN n {.*, labels: labels}
A few months ago when I started reading about the Neo4j / GraphQL integration. I through I saw a discussion about multiple labels and a workaround. However, my searching skills are failing me.
Thanks for any help!
Chad
All the sessions of the conference are now available online