MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / getColumnNames

Method getColumnNames

src/main/prepared_statement.cpp:17–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15CachedPreparedStatement::~CachedPreparedStatement() = default;
16
17std::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
28std::vector<LogicalType> CachedPreparedStatement::getColumnTypes() const {
29 std::vector<LogicalType> types;

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45
push_backMethod · 0.45
toStringMethod · 0.45

Tested by

no test coverage detected