List Database Settings
list_setting.RdThe list_setting() function provides a convenient way to inspect the
active configuration of a DuckDB or MotherDuck connection. It executes
the internal DuckDB function duckdb_settings() and returns the results
as a tidy tibble for easy viewing or filtering.
Value
A tibble::tibble containing one row per setting with columns describing the setting name, current value, description, and default value.
Details
This function is particularly useful for debugging or auditing runtime environments. All settings are returned as character columns, including their names, current values, and default values.
Examples
if (FALSE) { # \dontrun{
# Connect to DuckDB
con <- DBI::dbConnect(duckdb::duckdb(), dbdir = ":memory:")
# List all database settings
list_setting(con)
# Disconnect
DBI::dbDisconnect(con)
} # }