Compare two fields in GraphQL Hasura

Viewed 1178

I want to filter graphQL on two fields in Hasura. For example:

table (
    where: { field1: {_gt: field2}}
  ) {
    id
  }

Is it possible?

1 Answers

No, you'll need to create a PG function that does this for you and query it via Hasura.

Related