Wrapping Up
Let’s recap what we’ve done in this chapter. We worked with Dgraph—a distributed graph database that supports GraphQL as a native database query language. This is impressive as not only do we have GraphQL as a standard API but we also have those same structures down at the database level. It’s GraphQL all the way down.
We also tried out DQL—the Dgraph version of GraphQL. We ran those mutations and queries using Elixir functions guided by the schemas we created.
There’s still some way to go for Dgraph to integrate DQL and GraphQL together. But this is a rather interesting development in graph databases that warrants a lot more attention.
That effectively concludes our survey of the different graph models and how to access them from ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access