The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
simplify paragraph on is null and is not null handling
Oliver Rice3a4469930118
diff --git a/apps/www/_blog/2023-04-19-whats-new-in-pg-graphql-v1-2.mdx b/apps/www/_blog/2023-04-19-whats-new-in-pg-graphql-v1-2.mdxindex fb1da366b41..9e4159cb97a 100644--- a/apps/www/_blog/2023-04-19-whats-new-in-pg-graphql-v1-2.mdx+++ b/apps/www/_blog/2023-04-19-whats-new-in-pg-graphql-v1-2.mdx@@ -78,7 +78,10 @@ Filtering in SQL is endlessly flexible. We’ve taken two incremental steps to b### `is null` and `is not null`-`null` handling is notorious fiddly in both SQL and GraphQL. Despite that, there is common ground we can exploit. In `pg_graphql` each scalar data type has a dedicated filter type e.g. `IntFilter` , `StringFilter` . Each of those filter types now supports an `is` argument allowing filtering on if a value `is null` or `is not null` using `{is: NULL}` and `{is: NOT_NULL }` respectively.+Handling `null` values can be tricky in both SQL and GraphQL. However, there are similarities we can take advantage of.+In pg_graphql, every scalar data type has its own filter type, such as `IntFilter` and `StringFilter`.+Each of these filter types now includes an `is` argument, which allows you to filter based on whether a value is null or not null.+You can do this by using `{is: NULL}` for `null` values and `{is: NOT_NULL}` for non-`null` values.```graphqlenum FilterIs {