incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tristan Sloughter <kungfoog...@gmail.com>
Subject CouchDB key that always matches
Date Mon, 17 Jan 2011 02:01:15 GMT
I'm looking to query my Couch database in such a way that some of the fields
in a document can be wildcards that match any key request. Example:

function(doc) { emit(doc.some_field, doc); }

?key=100

would match both the document with some_field of 100 and of some_field with
the value *.

Is this possible? Is there a hack way I can resolve it?

Thanks,

Tristan

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message