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

Function getNodePropertyInfos

src/function/table/table_info.cpp:132–142  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132static std::vector<PropertyInfo> getNodePropertyInfos(NodeTableCatalogEntry* entry) {
133 std::vector<PropertyInfo> infos;
134 auto primaryKeyName = entry->getPrimaryKeyName();
135 for (auto& def : entry->getProperties()) {
136 auto info = getInfo(def);
137 info.propertyID = entry->getPropertyID(def.getName());
138 info.extraInfo = std::make_unique<ExtraNodePropertyInfo>(primaryKeyName == def.getName());
139 infos.push_back(std::move(info));
140 }
141 return infos;
142}
143
144static std::vector<PropertyInfo> getRelPropertyInfos(RelGroupCatalogEntry* entry) {
145 std::vector<PropertyInfo> infos;

Callers 1

bindFuncFunction · 0.85

Calls 5

getInfoFunction · 0.85
getPropertiesMethod · 0.45
getPropertyIDMethod · 0.45
getNameMethod · 0.45
push_backMethod · 0.45

Tested by

no test coverage detected