MCPcopy Create free account
hub / github.com/Restream/reindexer / TotalCount

Method TotalCount

cpp_src/server/httpserver.cc:52–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50 TxCommitOption(const QueryResults& qr) noexcept : totalCount_{qr.Count()} {}
51
52 std::optional<size_t> TotalCount() const noexcept override { return totalCount_; }
53 std::optional<size_t> QueryTotalCount() const noexcept override { return std::nullopt; }
54 unsigned ExternalLimit() const noexcept override { return kDefaultLimit; }
55 unsigned ExternalOffset() const noexcept override { return kDefaultOffset; }

Callers 7

queryResultsMsgPackMethod · 0.45
queryResultsProtobufMethod · 0.45
queryResultParamsMethod · 0.45
buildQueryResultsMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected