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

Function lbug_query_result_to_string

src/c_api/query_result.cpp:111–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

109}
110
111char* lbug_query_result_to_string(lbug_query_result* query_result) {
112 std::string result_string = static_cast<QueryResult*>(query_result->_query_result)->toString();
113 return convertToOwnedCString(result_string);
114}
115
116void lbug_query_result_reset_iterator(lbug_query_result* query_result) {
117 static_cast<QueryResult*>(query_result->_query_result)->resetIterator();

Callers 2

TEST_FFunction · 0.85
mainFunction · 0.85

Calls 2

convertToOwnedCStringFunction · 0.85
toStringMethod · 0.45

Tested by 1

TEST_FFunction · 0.68