© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4y ago•
4 replies
drewbie

Graphql Filters Don't Seem To Be Working

Trying to use the built in
eq
eq
and
neq
neq
filters for the autogenerated Graphql API.
eq
eq
and
neq
neq
set to a value seems to work. But
eq: null
eq: null
and
neq: null
neq: null
don't appear to be working. Not sure the best to debug this as I am testing it with the local development setup. Here is an example of the query I am trying to perform. A category has a parent_id which references another category. This query returns back nothing while there are in fact entries in the database that don't have a parent_id. Any help is appreciated! Thanks

```
query CategoriesCollection($filter: categoriesFilter) {
categoriesCollection(filter: $filter) {
edges {
node {
name
parent_id
}
}
}
}

{
"filter": {
"parent_id": {
"neq": null
}
}
}
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

Database api doesn't seem to be returning correct data
SupabaseSSupabase / help-and-questions
4y ago
pg_graphql batching not working?
SupabaseSSupabase / help-and-questions
4y ago
Can't seem to cross intermediary table
SupabaseSSupabase / help-and-questions
4y ago
Resend email change email doesn't seem to work
SupabaseSSupabase / help-and-questions
3y ago