incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zachary Zolton <zachary.zol...@gmail.com>
Subject Re: Calculating the sum of attachment sizes
Date Thu, 10 Jun 2010 15:09:04 GMT
> I issue the following command:
>
> curl -d
> '{"keys":[["leaflet","d947fce9711cb624e2df06e081004b1f"],["leaflet","d947fce9711cb624e2df06e081002c2b"]]}'
> -X POST
> http://192.168.87.1:5984/mydb/_design/mydb/_view/getAttachmentSize?group=true&group_level=1

Make sure to wrap the URL in single quotes any time it contains query
params, the question mark and ampersand characters have special
meaning to most shells.

Mime
View raw message