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 ...

Get Exploring Graphs with Elixir now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.