upsert
Perform an UPSERT on the table or view. Depending on the column(s) passed to UpsertRequestBuilder.onConflict, upsert allows you to perform the equivalent of `insert if a row with the corresponding onConflict columns doesn't exist, or if it does exist, perform an alternative action depending on UpsertRequestBuilder.ignoreDuplicates.
By default, upserted rows are not returned. To return it, call [PostgrestRequestBuilder.select]
.
Parameters
The values to insert, will automatically get serialized into json.
Additional configurations for the request including filters
Throws
or one of its subclasses if receiving an error response
if the request timed out
on network related issues
Perform an UPSERT on the table or view. Depending on the column(s) passed to UpsertRequestBuilder.onConflict, upsert allows you to perform the equivalent of `insert if a row with the corresponding onConflict columns doesn't exist, or if it does exist, perform an alternative action depending on UpsertRequestBuilder.ignoreDuplicates.
By default, upserted rows are not returned. To return it, call [PostgrestRequestBuilder.select]
.
Parameters
The value to insert, will automatically get serialized into json.
Additional filtering to apply to the query
Throws
or one of its subclasses if receiving an error response
if the request timed out
on network related issues