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

Method getNumProperties

src/common/types/value/rel.cpp:27–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27uint64_t RelVal::getNumProperties(const Value* val) {
28 throwIfNotRel(val);
29 auto fieldNames = StructType::getFieldNames(val->dataType);
30 return fieldNames.size() - OFFSET;
31}
32
33std::string RelVal::getPropertyName(const Value* val, uint64_t index) {
34 throwIfNotRel(val);

Callers 3

lookupPKMethod · 0.45
getTypesForLocalRelTableFunction · 0.45

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected