| 15 | CachedPreparedStatement::~CachedPreparedStatement() = default; |
| 16 | |
| 17 | std::vector<std::string> CachedPreparedStatement::getColumnNames() const { |
| 18 | if (!columnNames.empty()) { |
| 19 | return columnNames; |
| 20 | } |
| 21 | std::vector<std::string> names; |
| 22 | for (auto& column : columns) { |
| 23 | names.push_back(column->toString()); |
| 24 | } |
| 25 | return names; |
| 26 | } |
| 27 | |
| 28 | std::vector<LogicalType> CachedPreparedStatement::getColumnTypes() const { |
| 29 | std::vector<LogicalType> types; |