| 132 | } |
| 133 | |
| 134 | std::vector<const LogicalType*> StructType::getFieldTypes(const LogicalType& type) { |
| 135 | DASSERT(type.getPhysicalType() == PhysicalTypeID::STRUCT); |
| 136 | auto structTypeInfo = type.extraTypeInfo->constPtrCast<StructTypeInfo>(); |
| 137 | return structTypeInfo->getChildrenTypes(); |
| 138 | } |
| 139 | |
| 140 | const LogicalType& StructType::getFieldType(const LogicalType& type, struct_field_idx_t idx) { |
| 141 | return StructType::getField(type, idx).getType(); |
nothing calls this directly
no test coverage detected