couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <rnew...@apache.org>
Subject Re: copying a document with some fields removed
Date Tue, 12 Jun 2012 00:45:36 GMT
why not use a show or list function that removes that field?

B.

On 12 June 2012 01:37, Jens Alfke <jens@couchbase.com> wrote:
>
> On Jun 11, 2012, at 4:29 PM, bryan rasmussen wrote:
>
>> Does couchdb have some sort of higher level way of doing this that
>> will have better performance than just looping through the object and
>> copying over every property unless it is the username one?
>
> Is the performance of that a problem? Remember, the map function is only run when a document
is updated. It's generating an index, not performing the query.
>
> —Jens

Mime
View raw message