    # File lib/chef/cookbook_version.rb, line 897
        def self.cdb_list_latest(inflate=false, couchdb=nil)
          couchdb ||= Chef::CouchDB.new
          if inflate
            doc_ids = cdb_list_latest_ids.map {|i|i["id"]}
            couchdb.bulk_get(doc_ids)
          else
            results = couchdb.get_view("cookbooks", "all_latest_version", :group=>true)["rows"]
            results.inject({}) { |mapped, row| mapped[row["key"]] = row["value"]; mapped}
          end
        end