/plushcap/analysis/hasura/postgres-views-and-materialized-views-with-graphql-fd75680888b8

GraphQL with Postgres views and materialized views

What's this blog post about?

This article discusses the use of Postgres views and materialized views with GraphQL. It explains that Postgres views are virtual tables that can be linked to regular tables using relationships, allowing for single nested queries to fetch related data. The Hasura GraphQL engine is an open-source tool that enables setting up a GraphQL server over Postgres in minutes, providing the ability to add views as relationships to tables or other views. An example use case of building a backend for a blog engine demonstrates how these concepts can be applied in practice.

Company
Hasura

Date published
Aug. 14, 2018

Author(s)
Sandip

Word count
1145

Language
English

Hacker News points
None found.


By Matt Makai. 2021-2024.