◆ GetCollation()
| string duckdb::StringType::GetCollation |
( |
const LogicalType & | type | ) |
|
|
static |
140547 {
140548 if (type.id() != LogicalTypeId::VARCHAR) {
140549 return string();
140550 }
140551 auto info = type.AuxInfo();
140552 if (!info) {
140553 return string();
140554 }
140555 if (info->type == ExtraTypeInfoType::GENERIC_TYPE_INFO) {
140556 return string();
140557 }
140558 return info->Cast<StringTypeInfo>().collation;
140559}
The documentation for this struct was generated from the following files: