Read all the documents from a bucket

That function looks okay, you also don’t need a reduce function for this.

  • Did you publish your view properly?
  • When you query it on the UI, do you get results?