Skip to main content

Module config

Module config 

Source

Enums§

ConfigError
Represents an error that can occur while accessing the configuration.
ConfigOption
Represents a configuration value stored in the system.

Functions§

config_on
Reads a config field on the given connection: the config (string) table first, falling back to configdata (blob).
load_config
set_config_on
Upserts a config field on the given connection (string → config, blob → configdata). The upsert keys on lower(field) (see the SQL), so it is idempotent and case-insensitive.
set_system_config
Writes a SYSTEM config field to the global admin database.
system_config
Reads a SYSTEM (server-wide) config field from the global admin database. For server-wide keys (infra URLs, locale) and the bootstrap reads that run before any user is resolved. Per-user config goes through User::config.
system_configdata
Reads a SYSTEM config blob field from the global admin database.