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.
What kind of change does this PR introduce?
Introduced an
upsert()
method for upserting instead of doing it withinsert(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.