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

Method getReturnClause

src/include/parser/query/single_query.h:37–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 inline void setReturnClause(ReturnClause clause) { returnClause = std::move(clause); }
36 inline bool hasReturnClause() const { return returnClause.has_value(); }
37 inline const ReturnClause* getReturnClause() const {
38 DASSERT(returnClause.has_value());
39 return &returnClause.value();
40 }
41
42private:
43 std::vector<QueryPart> queryParts;

Callers 2

visitSingleQueryMethod · 0.80
bindSingleQueryMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected