lanto03 / couchdb-python

Automatically exported from code.google.com/p/couchdb-python
Other
0 stars 0 forks source link

can't get result from a "reduce" #16

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Make a view with a reduce function
2. Query it with Db.view function
3.

What is the expected output? What do you see instead?
KeyIndex 'id' exception is raised. Which is normal because a reduce view
don't provide id key, nor total_rows result.

What version of the product are you using? On what operating system?
latest trunk (0.8-incubing)

Please provide any additional information below.

Find here a quick patch that solve it.

Original issue reported on code.google.com by bchesn...@gmail.com on 20 Jun 2008 at 12:21

Attachments:

GoogleCodeExporter commented 8 years ago
mmm test should be on "total_rows" to have "normal" view working, sorry for 
that.

Original comment by bchesn...@gmail.com on 20 Jun 2008 at 8:00

Attachments:

GoogleCodeExporter commented 8 years ago
Duplicate of issue 11

Original comment by cmlenz on 26 Jun 2008 at 9:38