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

Method planCreateGraph

src/planner/plan/append_simple.cpp:187–192  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

185}
186
187LogicalPlan Planner::planCreateGraph(const BoundStatement& statement) {
188 auto& boundCreateGraph = statement.constCast<BoundCreateGraph>();
189 auto op = std::make_shared<LogicalCreateGraph>(boundCreateGraph.getGraphName(),
190 boundCreateGraph.isAnyGraph());
191 return getSimplePlan(std::move(op));
192}
193
194LogicalPlan Planner::planUseGraph(const BoundStatement& statement) {
195 auto& boundUseGraph = statement.constCast<BoundUseGraph>();

Callers

nothing calls this directly

Calls 3

getSimplePlanFunction · 0.85
getGraphNameMethod · 0.45
isAnyGraphMethod · 0.45

Tested by

no test coverage detected