Using Custom SQL Functions for Queries with Postgres and GraphQL
blog.hasura.io