/plushcap/analysis/hasura/working-with-dates-time-timezones-graphql-postgresql

Working with Dates, Time, Timezones in GraphQL and PostgreSQL

What's this blog post about?

This article discusses working with dates, time, and timezones in GraphQL and PostgreSQL. It explains how to use custom scalars like Date, timetz, and timestamptz for date and time data types in GraphQL. The text also covers reusing Postgres types in custom code through webhooks, using server timestamp inside a mutation, querying with ranges, and using subscriptions for real-time updates. Additionally, it highlights the importance of having a multi-cloud and multi-region deployment strategy for distributed Postgres.

Company
Hasura

Date published
March 29, 2021

Author(s)
Praveen Durairaju

Word count
899

Hacker News points
None found.

Language
English


By Matt Makai. 2021-2024.