incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ronen Narkis <nark...@gmail.com>
Subject Re: Couchdb document size
Date Mon, 26 Apr 2010 23:32:18 GMT
Thank you, it worked!

On Mon, Apr 26, 2010 at 4:21 PM, Alexander Uvarov <
alexander.uvarov@gmail.com> wrote:

> curl -I -X HEAD "http://localhost:5984/dbname/your_doc_id"
>
> Content-Length: 70
>
> But I could be wrong.
>
> On 26.04.2010, at 19:05, Ronen Narkis wrote:
>
> > Hello everyone, iv been trying to figure out how to get the byte size of
> a
> > document without GETing the document first, iv already tried to create a
> > view and use something like JSON.stringify(doc).length
> > however this approach is quite limiting, is there a better way to do
> this?
> >
> > Thanks!
> > Ronen
>
>

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