| 207 | } |
| 208 | |
| 209 | void 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 | |
| 218 | bool QueryGraph::canProjectExpression(const std::shared_ptr<Expression>& expression) const { |
| 219 | auto collector = DependentVarNameCollector(); |
no test coverage detected