Sha256: 0ebd3019c2502eb1bfb25965d27d94c30530aeea1b36ac895bc7f9b974bfa1c5
Contents?: true
Size: 353 Bytes
Versions: 1
Compression:
Stored size: 353 Bytes
Contents
module Hari::Node::Queries class Relation module Backend module SortedSet module CountStep def step_count(start_node, nodes_ids, options) # CONSIDER LIMIT AND FROM nodes_ids.inject(0) { |b, n| b + Hari(n).sorted_set(set_name(options)).count } end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hari-0.0.5 | lib/hari/node/queries/relation/backend/sorted_set/count_step.rb |