supabase / postgrest-js

Isomorphic JavaScript client for PostgREST.
https://supabase.com
MIT License
964 stars 128 forks source link

`.neq()`: add warning about not matching `null` #473

Open soedirgo opened 10 months ago

soedirgo commented 10 months ago

Improve documentation

Link

.neq() TSDoc

Describe the problem

.neq('col', 'foo') doesn't match col: null which is not very intuitive. This should be documented in the TSDoc.

Describe the improvement

Add a paragraph warning about this behavior.

Additional context

https://github.com/supabase/postgrest-js/pull/463#issuecomment-1695304531