Sha256: e5240f08ba7840fd5e93352a96be4f277d2052895e0b82e5ce3fecd3e078d575
Contents?: true
Size: 519 Bytes
Versions: 88
Compression:
Stored size: 519 Bytes
Contents
module Neo4j module ActiveNode module Query module QueryProxyFindInBatches def find_in_batches(options = {}) query.return(identity).find_in_batches(identity, @model.primary_key, options) do |batch| yield batch.map(&:identity) end end def find_each(options = {}) query.return(identity).find_each(identity, @model.primary_key, options) do |result| yield result.send(identity) end end end end end end
Version data entries
88 entries across 88 versions & 1 rubygems