YALTools::YaAllDocs is designed to handle huge amount of documents using the BulkDoc (_all_docs) API.
view = YALTools::YaAllDocs.new(@couch, @dbname)
view.each(opts, @opts[:page], @opts[:limit]) do |rows, skip, page, max_page, max_rows|
rows.each do |i|
YALTools::CmdLine::save_data(i.to_json, @opts[:outfile], "w")
end
end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.