Skip to content

Comment on "Getting Started" 14 #126

Open
@janl

Description

@janl

From http://books.couchdb.org/relax/intro/getting-started

Click Run and you should see result rows like in Figure 3-8, with the var=
ious items sorted by price. This map function could be even more useful if =
it grouped the items by type, so that all the prices for bananas were next =
to each other in the result set. CouchDB=92s key sorting system allows any =
valid JSON object as a key. To learn more, see the View Collation table on =
page 225. In this case, we=92ll emit an array of [item, price] so that Couc=
hDB groups by item type and price.

Can you add the direct link to executing this map/reduce function from
the futon application? I'm still not sure I understand the path from
db -> map/reduce -> direct url

db/_design/(view/show)/???

Thanks,
Nathan
token=40859aae6b9645cadaaa9f68d22b1800login=janl

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions