couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aurélien Bénel <>
Subject Re: Map/Reduce Question
Date Mon, 06 Dec 2010 22:27:02 GMT
Hi Matthew,

> So what I'd like to be able to do is include key="Woodward" in the URL and have the value
of the key in the URL be what's used in my match regex, or if there's a different way to do
exact matches (because in this case I will always be pulling by exact key matches) and still
have the rest of this work as described before, that's fine as well.

Create a view with the following map function:
  function(o) {
     emit(o.lastName, o);

Then call the view with:

... or maybe I don't understand your question?



View raw message