SQLProvider


OnConflict

Namespace: FSharp.Data.Sql.Common

Union Cases

Union CaseDescription
DoNothing
Signature:

If the primary key already exists, leaves the existing row unchanged. Currently supported only on PostgreSQL 9.5+

Throw
Signature:

Throws an exception if the primary key already exists (default behaviour).

Update
Signature:

If the primary key already exists, updates the existing row's columns to match the new entity. Currently supported only on PostgreSQL 9.5+

Fork me on GitHub