Working with Dates, Time, Timezones in GraphQL and PostgreSQL
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
Language
English
Hacker News points
None found.