You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@couchdb.apache.org by "fzuslide@gmail.com" <fz...@gmail.com> on 2012/11/19 15:14:17 UTC

回复: how to create a count field


发送自HTC手机

----- Reply message -----
发件人: "Cheng" <go...@gmail.com>
收件人: <us...@couchdb.apache.org>
主题: how to create a count field
日期: 周一, 11 月 19 日, 2012 年 18:44


Does it need to keep 1000 rev log for this? 

Robert Newson <rn...@apache.org>编写:

>Hi,
>
>You will need to update that field yourself (perform a POST or PUT).
>
>I don't understand "how to copy with _revs_limit", but I will say that it's
>not common to alter _revs_limit.
>
>
>On 19 November 2012 08:15, goog cheng <go...@gmail.com> wrote:
>
>> I have docs which contain attachments in it and want to count the
>> downloaded times of an attachment. how to create a field which add
>> automatically by one every access to attachment? and how to copy with
>> _revs_limit? any guide would be greatly appreciated!
>>