Powerful queries out-of-the-box

Queries

Queries

Query across tables & views with powerful filtering, pagination and pattern search.

Insert Mutations

Insert Mutations

Insert single or multiple objects. Make upsert operations on conflict to simplify app logic.

Update Mutations

Update Mutations

Update objects based on a condition. Update to Increment/multiply directly.

Delete Mutations

Delete Mutations

Delete one object or in bulk based on a condition.

Realtime with subscriptions & live-queries

Convert any GraphQL query to a live query by using subscriptions.

1) Setup a GraphQL subscription
2) As Postgres data changes...
Orders (postgres table)
order_idpaymentdispatched
XX-57trueNULL
3) The UI is updated
Order XX-57 (mobile/web UI)
Payment
Delivery...

Dynamic access control that integrates with your auth

  • ExpandCreate field-level allow & deny rules with dynamic variables.
  • ExpandCreate role-based schemas.
  • ExpandIntegrate with an existing auth system.

Restrict access in production to only pre-approved queries

Create a list of safe queries in an allow-list and configure Hasura to restrict access to only the queries in this list.

Merge Remote GraphQL schemas

  • ExpandUse remote schemas for custom business logic, delegating to HTTP APIs, etc.
  • ExpandSeamlessly merge remote schemas behind a single GraphQL API.
  • ExpandSupports GraphQL servers written in any language/framework, deployed anywhere.
  • ExpandBoilerplates available for popular languages and serverless platforms.

Trigger webhooks on database events

  • ExpandInvoke asynchronous business logic; Use with serverless.
  • ExpandBuild reactive UX with GraphQL subscriptions & live-queries.
  • ExpandPowered by native Postgres triggers for reliable capture & delivery of database events.
  • ExpandAvailable with live-demo apps, tutorials & boilerplates for serverless functions.

Add to an existing, live postgres database

Add Hasura to any existing postgres database as-is and expose select tables & views over GraphQL.

We took Gitlab CE (a complex rails + postgres application), hosted it on DigitalOcean and added GraphQL to it in just a few minutes. Check out the demo on the left!

Admin UI & Rails inspired schema migrations

As you use the UI to build and manipulate your GraphQL and database schema, Hasura automatically spits out migrations files that you can put in version control.

Query Performance Analysis

Try it out in 30 seconds

Copy write icon

2019 Hasura Inc. All rights reserved

Github
Titter
Discord
Facebook
Instagram
Twitch
Youtube
Linkedin