UpsertRequestBuilder
Request builder for PostgrestQueryBuilder.upsert
Properties
Make missing fields default to null. Otherwise, use the default value for the column. This only applies when inserting new rows, not when merging with existing rows under
If true, duplicate rows are ignored. If false, duplicate rows are merged with existing rows.
Comma-separated UNIQUE column(s) to specify how duplicate rows are determined. Two rows are duplicates if all the onConflict columns are equal.
Functions
Setting count allows to use PostgrestResult.countOrNull to get the total amount of items in the database.
Adds a filter to the postgrest request.
Return data as a single object instead of an array of objects.
Strip null values from the response data. Properties with null values will be omitted from the returned JSON objects.