Hi people!!! I’m relatively new in FaunaDB, actually i’m working in a web-app that make use of family tree type schema, but when i try to implementing this on FaunaDB, run into the following issue:
Instance is not unique
Here is the Schema
type Person @collection(name: "Persons") {
name: String!
mom: Person @relation(name: "person_mom")
dad: Person @relation(name: "person_dad")
}
What if the Person has more than one child?