lib/mongo/database/view.rb in mongo-2.1.0.beta vs lib/mongo/database/view.rb in mongo-2.1.0.rc0
- old
+ new
@@ -100,10 +100,10 @@
cursor: batch_size ? { batchSize: batch_size } : {} },
db_name: @database.name }
end
def initial_query_op
- Operation::Read::CollectionsInfo.new(collections_info_spec)
+ Operation::CollectionsInfo.new(collections_info_spec)
end
def send_initial_query(server)
initial_query_op.execute(server.context)
end