Expand description
Extension-defined configuration options (DuckDB 1.5.0+).
Extensions can register custom settings that users can read and write via
SET / RESET / current_setting(). This module wraps the
duckdb_config_option C API surface behind a safe builder.
§Example
use quack_rs::config_option::{ConfigOptionBuilder, ConfigOptionScope};
use quack_rs::types::TypeId;
let option = ConfigOptionBuilder::try_new("my_ext_threshold")?
.description("Maximum threshold for my_ext operations")?
.option_type(TypeId::BigInt)
.default_value("100")?
.scope(ConfigOptionScope::Global);Structs§
- Config
Option Builder - Builder for registering extension-defined configuration options.
Enums§
- Config
Option Scope - Scope in which a configuration option takes effect.