MCPcopy Create free account
hub / github.com/FoundationDB/fdb-document-layer / evaluate

Method evaluate

src/QLExpression.actor.cpp:221–228  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

219}
220
221GenFutureStream<Reference<IReadContext>> ExtPathExpression::evaluate(Reference<IReadContext> const& document) {
222 PromiseStream<Reference<IReadContext>> p;
223 GenFutureStream<Reference<IReadContext>> r(p.getFuture());
224 r.actor = doPathExpansion(p, path, document, 1, true, expandLastArray && path.size(),
225 imputeNulls); // Even if expandLastArray, the empty path ->"" not ->"$n?"
226
227 return r;
228}

Callers

nothing calls this directly

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected