|
|
using | RETURN_TYPE = OrderType |
|
|
static constexpr const char * | Name = "default_order" |
|
static constexpr const char * | Description = "The order type used when none is specified (ASC or DESC)" |
|
static constexpr const char * | InputType = "VARCHAR" |
|
static constexpr const char * | DefaultValue = "ASCENDING" |
|
static constexpr SettingScopeTarget | Scope = SettingScopeTarget::GLOBAL_DEFAULT |
|
static constexpr idx_t | SettingIndex = 31 |
◆ OnSet()
301910 {
301912 if (parameter == "ascending" || parameter == "asc") {
301913 input = Value("ASC");
301914 } else if (parameter == "descending" || parameter == "desc") {
301915 input = Value("DESC");
301916 } else {
301917 throw InvalidInputException("Unrecognized parameter for option DEFAULT_ORDER \"%s\". Expected ASC or DESC.",
301918 parameter);
301919 }
301920}
static DUCKDB_API string Lower(const string &str)
Convert a string to lowercase.
Definition duckdb.cpp:109630
DUCKDB_API string ToString() const
Convert this value to a string.
Definition duckdb.cpp:133318
The documentation for this struct was generated from the following file: