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.

Search Discussions

Discussion Posts


Related Discussions



site design / logo © 2016 Grokbase