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

Method getNextQueryResult

src/main/query_result.cpp:71–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

69}
70
71QueryResult* QueryResult::getNextQueryResult() {
72 checkDatabaseClosedOrThrow();
73 if (hasNextQueryResult()) {
74 ++queryResultIterator;
75 return queryResultIterator.getCurrentResult();
76 }
77 return nullptr;
78}
79
80std::unique_ptr<ArrowSchema> QueryResult::getArrowSchema() const {
81 checkDatabaseClosedOrThrow();

Callers 5

testStatementMethod · 0.80
initMethod · 0.80
TEST_FFunction · 0.80
validateQueryResultFunction · 0.80

Calls 1

getCurrentResultMethod · 0.80

Tested by 2

testStatementMethod · 0.64
TEST_FFunction · 0.64