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

Method getNumericalLogicalTypeIDs

src/common/types/types.cpp:1260–1266  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1258}
1259
1260std::vector<LogicalTypeID> LogicalTypeUtils::getNumericalLogicalTypeIDs() {
1261 auto integerTypes = getIntegerTypeIDs();
1262 auto floatingPointTypes = getFloatingPointTypeIDs();
1263 integerTypes.insert(integerTypes.end(), floatingPointTypes.begin(), floatingPointTypes.end());
1264 // integerTypes.push_back(LogicalTypeID::DECIMAL); // fixed point numeric
1265 return integerTypes;
1266}
1267
1268std::vector<LogicalTypeID> LogicalTypeUtils::getAllValidLogicTypeIDs() {
1269 return std::vector<LogicalTypeID>{LogicalTypeID::INTERNAL_ID, LogicalTypeID::BOOL,

Callers

nothing calls this directly

Calls 3

insertMethod · 0.45
endMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected