title: Get all ids in CouchDB
body: <p>Is there a good way to get all ids in a database in CouchDB? I've seen <a href="https://stackoverflow.com/questions/7568717/get-the-document-id-of-all-documents-in-couchdb-database">this solution</a>, but it seems kind of hackish and there must be a better way. </p>
  
  <p>If I did use that solution, how well would it scale? How long would it take to find the ids of say, all 100,000 documents in a database?</p>