Say I have a schema like this:
type Foo {
required link bar -> Bar;
}
type Bar {
required property baz -> bool;
}
How do I, knowing the id of a Foo
object, update a property of a Baz
object it points to?
In other words, how do I update Foo.bar.baz
value knowing Foo
's ID?
You can filter based on the backlink like this:
Where
df492862-80aa-11ed-832e-e72d12452736
is the ID of yourFoo
object. That means you can update like this: