Comment by RedCrowbar
7 years ago
There are good examples in the tutorial: https://edgedb.com/docs/tutorial/queries#ref-tutorial-querie...
The last query is still returning a flat set of Movie objects. The shape selector describes _related_ data that is also needed to be fetched by the query. So, the query actually returns multiple sets that can be reconstructed by the client into a graph of objects (or serialized into JSON).
No comments yet
Contribute on Hacker News ↗