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

Method merge

src/binder/query/query_graph.cpp:209–216  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

207}
208
209void QueryGraph::merge(const QueryGraph& other) {
210 for (auto& otherNode : other.queryNodes) {
211 addQueryNode(otherNode);
212 }
213 for (auto& otherRel : other.queryRels) {
214 addQueryRel(otherRel);
215 }
216}
217
218bool QueryGraph::canProjectExpression(const std::shared_ptr<Expression>& expression) const {
219 auto collector = DependentVarNameCollector();

Callers 3

mergeGraphsMethod · 0.45
visitQueryPartUnsafeMethod · 0.45

Calls 1

finalizeFunction · 0.50

Tested by

no test coverage detected