couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexander Uvarov <alexander.uva...@gmail.com>
Subject Re: Couchdb document size
Date Mon, 26 Apr 2010 13:21:54 GMT
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
View raw message