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

Function getMapEntryStr

src/common/type_utils.cpp:201–207  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201static std::string getMapEntryStr(sel_t pos, ValueVector* dataVector, ValueVector* keyVector,
202 ValueVector* valVector) {
203 if (dataVector->isNull(pos)) {
204 return "";
205 }
206 return entryToStringWithPos(pos, keyVector) + "=" + entryToStringWithPos(pos, valVector);
207}
208
209template<>
210std::string TypeUtils::toString(const map_entry_t& val, void* valueVector) {

Callers 1

toStringMethod · 0.85

Calls 2

entryToStringWithPosFunction · 0.85
isNullMethod · 0.45

Tested by

no test coverage detected