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

Function lbug_query_result_get_query_summary

src/c_api/query_result.cpp:64–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64lbug_state lbug_query_result_get_query_summary(lbug_query_result* query_result,
65 lbug_query_summary* out_query_summary) {
66 if (out_query_summary == nullptr) {
67 return LbugError;
68 }
69 auto query_summary = static_cast<QueryResult*>(query_result->_query_result)->getQuerySummary();
70 out_query_summary->_query_summary = query_summary;
71 return LbugSuccess;
72}
73
74bool lbug_query_result_has_next(lbug_query_result* query_result) {
75 return static_cast<QueryResult*>(query_result->_query_result)->hasNext();

Callers 1

TEST_FFunction · 0.85

Calls 1

getQuerySummaryMethod · 0.80

Tested by 1

TEST_FFunction · 0.68