supabase / postgrest-dart

Dart client for PostgREST
https://supabase.com
MIT License
136 stars 38 forks source link

Make UPSERT its own function #23

Closed dshukertjr closed 3 years ago

dshukertjr commented 3 years ago

What kind of change does this PR introduce?

Introduced an upsert() method for upserting instead of doing it with insert(upsert: true). This PR aligns postgrest-dart with postgrest-js about this PR.

What is the current behavior?

Upsert is done with insert() method.

What is the new behavior?

There is a new separate upsert() method just for upserting.