incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wordit Ltd <wordi...@googlemail.com>
Subject Update handler doc ids
Date Thu, 11 Nov 2010 14:59:00 GMT
Do update handlers require the doc id, or is it possible to search for
the doc as with views?

I need to update the document belonging to the logged in user. (I'll
use a validation function to check that.)
The only workaround I could think of is using the username as the doc
id. Then I call the update handler with .../handler/username?param=x

Marcus

Mime
View raw message