Table of Contents

Enum SqliteUpsertOptions

Namespace
LfrlAnvil.Sqlite
Assembly
LfrlAnvil.Sqlite.dll

Specifies available options for interpreting SqlUpsertNode instances.

[Flags]
public enum SqliteUpsertOptions : byte

Fields

AllowEmptyConflictTarget = 2

Specifies that the upsert statement is supported and that the ConflictTarget can be empty.

Disabled = 0

Specifies that the upsert statement is not supported.

This setting will cause an interpreter to throw an UnrecognizedSqlNodeException whenever an SqlUpsertNode is visited.

Supported = 1

Specifies that the upsert statement is supported.

Unless the AllowEmptyConflictTarget setting is also included, this setting requires that the ConflictTarget is either explicitly specified or is possible to be extracted from the target table.