Class ClickHouseOptions
- Namespace
- LinqToDB.DataProvider.ClickHouse
- Assembly
- linq2db.dll
public sealed record ClickHouseOptions : DataProviderOptions<ClickHouseOptions>, IOptionSet, IConfigurationID, IEquatable<DataProviderOptions<ClickHouseOptions>>, IEquatable<ClickHouseOptions>
- Inheritance
-
ClickHouseOptions
- Implements
- Inherited Members
- Extension Methods
Constructors
ClickHouseOptions()
public ClickHouseOptions()
ClickHouseOptions(BulkCopyType, bool)
public ClickHouseOptions(BulkCopyType BulkCopyType = BulkCopyType.ProviderSpecific, bool UseStandardCompatibleAggregates = false)
Parameters
BulkCopyType
BulkCopyTypeDefault bulk copy mode. Default value:
ProviderSpecific
.UseStandardCompatibleAggregates
boolEnables -OrNull combinator for Min, Max, Sum and Avg aggregation functions to support SQL standard-compatible behavior. Default value:
false
.
Properties
UseStandardCompatibleAggregates
Enables -OrNull combinator for Min, Max, Sum and Avg aggregation functions to support SQL standard-compatible behavior.
Default value: false
.
public bool UseStandardCompatibleAggregates { get; init; }
Property Value
Methods
CreateID(IdentifierBuilder)
protected override IdentifierBuilder CreateID(IdentifierBuilder builder)
Parameters
builder
IdentifierBuilder
Returns
Equals(ClickHouseOptions?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(ClickHouseOptions? other)
Parameters
other
ClickHouseOptionsAn object to compare with this object.
Returns
- bool
true if the current object is equal to the
other
parameter; otherwise, false.
GetHashCode()
Serves as a hash function for a particular type.
public override int GetHashCode()