MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / getObject

Method getObject

base/poco/JSON/src/Array.cpp:112–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

110
111
112Object::Ptr Array::getObject(unsigned int index) const
113{
114 Object::Ptr result;
115
116 Var value = get(index);
117 if (value.type() == typeid(Object::Ptr))
118 {
119 result = value.extract<Object::Ptr>();
120 }
121 return result;
122}
123
124
125bool Array::isNull(unsigned int index) const

Callers 1

makeArrayMethod · 0.45

Calls 2

getFunction · 0.50
typeMethod · 0.45

Tested by

no test coverage detected