couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Robert Newson <>
Subject Re: Did BigCouch recently change sequence IDs to be arrays?
Date Wed, 16 Jan 2013 01:56:44 GMT
We handle it with quotes, pretty sure, and for the reason you suggest.

Cloudant does not run bigcouch. Bigcouch is an extracted portion of our
platform so there's inevitably some drift. The main reason cloudant hasn't
switched to the new format is because of the preponderance of third part
tools that assume number or string, rather than json.

On Tuesday, January 15, 2013, Jens Alfke wrote:

> On Jan 15, 2013, at 9:48 AM, Robert Newson <<javascript:;>
> < <javascript:;>>> wrote:
> Yes, that's true. An update_seq is always valid JSON and should be
> treated opaquely, though a change does flush out bugs in client
> libraries and such.
> But if I treat it opaquely and send it as JSON, the string sequence IDs
> that Cloudant uses would end up with quotes around them, i.e.
> GET /db/_changes?since=%221-foobarbazzbo%22
> instead of what TouchDB sends now,
> GET /db/_changes?since=1-foobarbazzbo
> Will that still work?
> Also, why is it that BigCouch does this (and has for at least 10 months,
> apparently) and Cloudant, which runs BigCouch, doesn’t? I’ve been assuming
> that I can treat Cloudant and BigCouch compatibility as nearly the same
> thing, but maybe not.
> —Jens

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