Table of Contents

Enum DuckDBAccessMode

Namespace
DuckDB.NET.Data
Assembly
DuckDB.NET.Data.dll

Access mode of the database, mapped to the DuckDB access_mode configuration option.

public enum DuckDBAccessMode

Fields

Automatic = 0

Open the database read/write if possible, otherwise read-only.

ReadOnly = 1

Open the database in read-only mode. Multiple processes may read the same database file.

ReadWrite = 2

Open the database in read/write mode.