lib/cassandra_object/batches.rb in gotime-cassandra_object-2.8.3 vs lib/cassandra_object/batches.rb in gotime-cassandra_object-2.8.4
- old
+ new
@@ -2,10 +2,10 @@
module Batches
extend ActiveSupport::Concern
module ClassMethods
def find_each
- connection.each(column_family) do |k, v|
+ connection.each(column_family, {:count => 500}) do |k, v|
yield instantiate(k, v)
end
end
def find_in_batches(options = {})
\ No newline at end of file