Sha256: 76a9cb0c88869be105d52f103ff8bf15f923d389627e53f612c5a5a3606f13cf

Contents?: true

Size: 241 Bytes

Versions: 3

Compression:

Stored size: 241 Bytes

Contents

module CassandraObject
  module Batches
    extend ActiveSupport::Concern

    module ClassMethods
      def find_each
        connection.each(column_family) do |k, v|
          yield instantiate(k, v)
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
gotime-cassandra_object-2.1.1 lib/cassandra_object/batches.rb
gotime-cassandra_object-2.1.0 lib/cassandra_object/batches.rb
gotime-cassandra_object-2.0.0 lib/cassandra_object/batches.rb