Table of Contents

Class DuckDBOptions

Namespace
LinqToDB.DataProvider.DuckDB
Assembly
linq2db.dll

DuckDB data provider configuration options.

public sealed record DuckDBOptions : DataProviderOptions<DuckDBOptions>, IOptionSet, IConfigurationID, IEquatable<DataProviderOptions<DuckDBOptions>>, IEquatable<DuckDBOptions>
Inheritance
object
DuckDBOptions
Implements
Inherited Members
Extension Methods

Constructors

DuckDBOptions()

public DuckDBOptions()

DuckDBOptions(BulkCopyType)

DuckDB data provider configuration options.

public DuckDBOptions(BulkCopyType BulkCopyType = BulkCopyType.ProviderSpecific)

Parameters

BulkCopyType BulkCopyType

Default bulk copy mode for DuckDB. Default value: ProviderSpecific. Uses native DuckDB Appender for best performance with automatic fallback to MultipleRows when the table has unmapped columns or identity columns with nextval() defaults.

Methods

CreateID(IdentifierBuilder)

protected override IdentifierBuilder CreateID(IdentifierBuilder builder)

Parameters

builder IdentifierBuilder

Returns

IdentifierBuilder

Equals(DuckDBOptions?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(DuckDBOptions? other)

Parameters

other DuckDBOptions

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.