incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jarrod Roberson <jar...@vertigrated.com>
Subject Re: Strange integer anomaly in Erlang view
Date Tue, 11 May 2010 14:41:33 GMT
On Tue, May 11, 2010 at 10:37 AM, Jarrod Roberson <jarrod@vertigrated.com>wrote:

> this is a know issue with I reported here
> https://issues.apache.org/jira/browse/COUCHDB-749
> it has something to do with JavaScript precision with Numbers.
>
> my solution was to just persist everything as strings and then convert back
to the appropriate number type in my non-JavaScript client code. There is
really no reason to store numerical ids as numbers anyway, it isn't like you
are doing math on them on the server side.

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