MCPcopy Create free account
hub / github.com/apache/kvrocks / ScopedUpdates

Function ScopedUpdates

tests/cppunit/plan_executor_test.cc:374–385  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

372};
373
374std::vector<std::unique_ptr<ScopedUpdate>> ScopedUpdates(engine::Context& ctx, redis::GlobalIndexer& indexer,
375 const std::vector<std::string_view>& keys,
376 const std::string& ns) {
377 std::vector<std::unique_ptr<ScopedUpdate>> sus;
378
379 sus.reserve(keys.size());
380 for (auto key : keys) {
381 sus.emplace_back(std::make_unique<ScopedUpdate>(&ctx, indexer, key, ns));
382 }
383
384 return sus;
385}
386
387TEST_F(PlanExecutorTestC, NumericFieldScan) {
388 redis::GlobalIndexer indexer(storage_.get());

Callers 1

TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected