MCPcopy Create free account
hub / github.com/activeloopai/deeplake / releaseStatements

Method releaseStatements

cpp/3rd_party/sql-parser/src/SQLParserResult.cpp:52–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50const std::vector<SQLStatement*>& SQLParserResult::getStatements() const { return statements_; }
51
52std::vector<SQLStatement*> SQLParserResult::releaseStatements() {
53 std::vector<SQLStatement*> copy = statements_;
54
55 statements_.clear();
56
57 return copy;
58}
59
60void SQLParserResult::reset() {
61 for (SQLStatement* statement : statements_) {

Callers 1

TESTFunction · 0.80

Calls 1

clearMethod · 0.45

Tested by 1

TESTFunction · 0.64