incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Landolt <d...@deanlandolt.com>
Subject Re: json/couchdb integer min max values
Date Mon, 23 Mar 2009 14:35:29 GMT
On Sun, Mar 22, 2009 at 10:34 PM, Daniel Friesen
<lists@danielfriesen.name>wrote:

> I mean store your numbers as strings; "5" "500" "50000000000000005" then in
> your view left0 pad those. (Then you don't have to worry about putting the 0
> padding in all documents.


The views are persisted all the same as docs -- so you're still storing the
0s. But I guess depending on the app, a little extra storage is a small
price to pay for precision.

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