Struct SqliteNodeInterpreterOptions
Represents available options for SqliteNodeInterpreter.
public readonly struct SqliteNodeInterpreterOptions
- Inherited Members
Fields
Default
Represents default options.
public static readonly SqliteNodeInterpreterOptions Default
Field Value
Properties
ArePositionalParametersEnabled
Specifies whether positional SqliteParameter instances are enabled.
public bool ArePositionalParametersEnabled { get; }
Property Value
IsAggregateFunctionOrderingEnabled
Specifies whether SqlSortTraitNode instances that decorate aggregate function nodes should be included or ignored.
public bool IsAggregateFunctionOrderingEnabled { get; }
Property Value
IsStrictModeEnabled
Specifies whether the STRICT mode is enabled for table creation.
public bool IsStrictModeEnabled { get; }
Property Value
IsUpdateFromEnabled
Specifies whether the UPDATE FROM syntax is supported.
public bool IsUpdateFromEnabled { get; }
Property Value
IsUpdateOrDeleteLimitEnabled
Specifies whether the ORDER BY, LIMIT and OFFSET clauses are enabled for UPDATE and DELETE statements.
public bool IsUpdateOrDeleteLimitEnabled { get; }
Property Value
TypeDefinitions
Specifies custom SqliteColumnTypeDefinitionProvider.
public SqliteColumnTypeDefinitionProvider? TypeDefinitions { get; }
Property Value
Remarks
Default SqliteColumnTypeDefinitionProvider instance built by SqliteColumnTypeDefinitionProviderBuilder will be used when this is null.
UpsertOptions
Specifies SqliteUpsertOptions that defines interpreter's behavior during SqlUpsertNode interpretation.
public SqliteUpsertOptions UpsertOptions { get; }
Property Value
Methods
EnableAggregateFunctionOrdering(bool)
Creates a new SqliteNodeInterpreterOptions instance with changed IsAggregateFunctionOrderingEnabled.
[Pure]
public SqliteNodeInterpreterOptions EnableAggregateFunctionOrdering(bool enabled = true)
Parameters
enabledboolValue to set. Equal to true by default.
Returns
- SqliteNodeInterpreterOptions
New SqliteNodeInterpreterOptions instance.
EnablePositionalParameters(bool)
Creates a new SqliteNodeInterpreterOptions instance with changed ArePositionalParametersEnabled.
[Pure]
public SqliteNodeInterpreterOptions EnablePositionalParameters(bool enabled = true)
Parameters
enabledboolValue to set. Equal to true by default.
Returns
- SqliteNodeInterpreterOptions
New SqliteNodeInterpreterOptions instance.
EnableStrictMode(bool)
Creates a new SqliteNodeInterpreterOptions instance with changed IsStrictModeEnabled.
[Pure]
public SqliteNodeInterpreterOptions EnableStrictMode(bool enabled = true)
Parameters
enabledboolValue to set. Equal to true by default.
Returns
- SqliteNodeInterpreterOptions
New SqliteNodeInterpreterOptions instance.
EnableUpdateFrom(bool)
Creates a new SqliteNodeInterpreterOptions instance with changed IsUpdateFromEnabled.
[Pure]
public SqliteNodeInterpreterOptions EnableUpdateFrom(bool enabled = true)
Parameters
enabledboolValue to set. Equal to true by default.
Returns
- SqliteNodeInterpreterOptions
New SqliteNodeInterpreterOptions instance.
EnableUpdateOrDeleteLimit(bool)
Creates a new SqliteNodeInterpreterOptions instance with changed IsUpdateOrDeleteLimitEnabled.
[Pure]
public SqliteNodeInterpreterOptions EnableUpdateOrDeleteLimit(bool enabled = true)
Parameters
enabledboolValue to set. Equal to true by default.
Returns
- SqliteNodeInterpreterOptions
New SqliteNodeInterpreterOptions instance.
SetTypeDefinitions(SqliteColumnTypeDefinitionProvider?)
Creates a new SqliteNodeInterpreterOptions instance with changed TypeDefinitions.
[Pure]
public SqliteNodeInterpreterOptions SetTypeDefinitions(SqliteColumnTypeDefinitionProvider? typeDefinitions)
Parameters
typeDefinitionsSqliteColumnTypeDefinitionProviderValue to set.
Returns
- SqliteNodeInterpreterOptions
New SqliteNodeInterpreterOptions instance.
SetUpsertOptions(SqliteUpsertOptions)
Creates a new SqliteNodeInterpreterOptions instance with changed UpsertOptions.
[Pure]
public SqliteNodeInterpreterOptions SetUpsertOptions(SqliteUpsertOptions options)
Parameters
optionsSqliteUpsertOptionsValue to set.
Returns
- SqliteNodeInterpreterOptions
New SqliteNodeInterpreterOptions instance.