| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Database.DuckDB.Simple.Config
Description
Synopsis
- data ConfigFlag = ConfigFlag {}
- data ConfigValue = ConfigValue {}
- listConfigFlags :: IO [ConfigFlag]
- getConfigOption :: Connection -> Text -> IO (Maybe ConfigValue)
Documentation
data ConfigFlag Source #
Static metadata describing a known DuckDB configuration flag.
Constructors
| ConfigFlag | |
Fields
| |
Instances
| Show ConfigFlag Source # | |
Defined in Database.DuckDB.Simple.Config Methods showsPrec :: Int -> ConfigFlag -> ShowS # show :: ConfigFlag -> String # showList :: [ConfigFlag] -> ShowS # | |
| Eq ConfigFlag Source # | |
Defined in Database.DuckDB.Simple.Config | |
data ConfigValue Source #
The current value of a configuration option plus its scope, when available.
Constructors
| ConfigValue | |
Fields | |
Instances
| Show ConfigValue Source # | |
Defined in Database.DuckDB.Simple.Config Methods showsPrec :: Int -> ConfigValue -> ShowS # show :: ConfigValue -> String # showList :: [ConfigValue] -> ShowS # | |
| Eq ConfigValue Source # | |
Defined in Database.DuckDB.Simple.Config | |
listConfigFlags :: IO [ConfigFlag] Source #
List all configuration flags known to the linked DuckDB runtime.
getConfigOption :: Connection -> Text -> IO (Maybe ConfigValue) Source #
Read a configuration option from a live connection's client context.