FAQ

[CouchDB-user] json/couchdb integer min max values

Dean Landolt
Mar 23, 2009 at 2:36 pm

On Sun, Mar 22, 2009 at 10:34 PM, Daniel Friesen 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.
reply

Search Discussions

Discussion Posts

Previous

Related Discussions