couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Kurukchi <>
Subject Re: Remove field from view
Date Tue, 16 Aug 2011 20:42:21 GMT
Thanks all. I did see the attachments part, but it over complicates the
client side code (c++). I toyed with the idea of a seperate database. It's
just all the extra code to keep them in sync seems silly.

I did manage to get a view to do what I wanted. Initial processing took
around 10 mins to populate around 6000 items. But it does strip c from the
doc and leaving the doc intact.

Changing anything in the docs took very little time to update view. Will
test adding and removing tomorrow docs.

Just got to get some of the c++ code changed to use this now.

Thanks for all the ideas and help.


On Aug 16, 2011 9:08 PM, "Jens Alfke" <> wrote:
> On Aug 16, 2011, at 12:23 PM, Mark Hahn wrote:
> Why not put c in a separate doc?  Maybe with the same doc id but a
> '-c' suffix.  Then you can pull it whenever you wish as a second read
> by id.  You could also use the new {_id: "<id>-c"} feature to include
> c.
> Using an attachment seems like the same concept only cleaner, working with
the design of CouchDB.
> —Jens

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