MCPcopy Create free account
hub / github.com/bytedance/bolt / executeOrdered

Method executeOrdered

bolt/exec/tests/utils/QueryAssertions.h:80–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78 }
79
80 std::vector<MaterializedRow> executeOrdered(
81 const std::string& sql,
82 const RowTypePtr& resultRowType) {
83 std::vector<MaterializedRow> allRows;
84 execute(
85 sql,
86 resultRowType,
87 [&allRows](std::vector<MaterializedRow>& rows) mutable {
88 std::copy(rows.begin(), rows.end(), std::back_inserter(allRows));
89 });
90 return allRows;
91 }
92
93 private:
94 ::duckdb::DuckDB db_;

Callers 2

assertResultsOrderedFunction · 0.80
getAggregateFunctionsFunction · 0.80

Calls 3

copyFunction · 0.50
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected