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

Method getGraphEntries

src/catalog/catalog.cpp:614–620  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

612}
613
614std::vector<GraphCatalogEntry*> Catalog::getGraphEntries(const Transaction* transaction) const {
615 std::vector<GraphCatalogEntry*> result;
616 for (auto& [_, entry] : graphs->getEntries(transaction)) {
617 result.push_back(entry->ptrCast<GraphCatalogEntry>());
618 }
619 return result;
620}
621
622void Catalog::createGraph(Transaction* transaction, std::string name, bool isAnyGraph) {
623 auto entry = std::make_unique<GraphCatalogEntry>(std::move(name), isAnyGraph);

Callers 2

bindFuncFunction · 0.80
loadGraphsFromCatalogMethod · 0.80

Calls 2

getEntriesMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected