couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aa mm <>
Subject Re: Howto edit design documents
Date Mon, 14 Aug 2017 14:21:05 GMT
3. I think you can edit the design document on Fauxton to add a list
function. As far as I know it's not as easy as adding a map or reduce.

בתאריך 14 באוג׳ 2017 05:13 PM,‏ "Eiri" <> כתב:

Hi Ronny,

For me “a-ha” moment was to realise that design document is just an
ordinary CouchDB document, so it can be created and updated with any http
client: curl, httpie, whatnot. I’ve writed up a gist with basic demo on
using curl for that:

Key moments to notice there that while updating design document it must
have revision and that value of “map” is a string, but it need to be a
proper javascript, as it’ll be evaluated as such.

So yes, it is easily possible to manage design documents without third
party tools.

Sorry, I don’t know the answer on your third question, I’m more of a
command line guy.


> On Aug 11, 2017, at 15:44, Ronny Berndt <> wrote:
> Hi,
> I have some questions regarding the edit of design documents:
> 1. What is the best way to edit design documents locally and upload it to
> 2. Is it easily possible without third party tools like couchapp or
> 3. How can I add a list function in Fauxton?
> Cheers, Ronny

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