couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Lehnardt <>
Subject Changing rev to _rev in view results (Was: Re: newbie question #1)
Date Sun, 28 Dec 2008 19:21:05 GMT

On 28 Dec 2008, at 14:32, Antony Blakey wrote:

> On 28/12/2008, at 11:56 PM, Paul Davis wrote:
>> Why "id" and "rev" are used instead of "_id" and
>> "_rev" I couldn't really tell you. I hate to say "historical reasons"
>> but I'm guessing that when Damien designed the view output he just
>> labeled then "id" and "rev" without the underscore because it's not
>> needed to distinguish from the rest of the doc.
> Desirable to change that (and any other inconsistencies) before a 1.0

This keeps coming up and I've been advocating this for a while now:

+1 for changing view result rows `rev` to `_rev` to avoid confusion.

CC'ing dev@c.a.o.


View raw message