supabase / postgrest-js

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

Add [x]OrThrow methods #457

Open wyozi opened 10 months ago

wyozi commented 10 months ago

Adds some shortcut methods to get data/count from a Supabase query. I've added these helpers to a couple of codebases and have found them very useful, so I think they would be useful to have in the library itself as well.

mmkal commented 7 months ago

Somewhat related #494 - although I think both could be useful together. The only difference #494 would make to this is that you'd no longer need the !.