Nelu
Nelu

Reputation: 18690

How to filter by non-null values?

Is it possible in the Hasura web app, to filter by values which aren't null?

enter image description here

Upvotes: 5

Views: 893

Answers (1)

kevin meyers
kevin meyers

Reputation: 21

Not sure about the explorer there, but you can do it easily in the API tabs Graphiql explorer:

query {
  my_table(where: {trailer_id: {_is_null: false}}) {
    fields_here
  }
}

Upvotes: 2

Related Questions