As far as my guess goes, since couchbase uses couchdb, there is no built in support for decimal datatypes - am I correct? Are there any recipes for applications that require decimal precision?
Thu, 12/29/2011 - 19:32
ingenthr
Offline
Joined: 03/16/2010
Groups:
Since Couchbase Server has both CouchDB style views and memcached protocol operations, one option is to serialize the value you want and store it as bytes. Of course, you won't be able to then use that in a view, but you could use it in a view with less precision.
Since Couchbase Server has both CouchDB style views and memcached protocol operations, one option is to serialize the value you want and store it as bytes. Of course, you won't be able to then use that in a view, but you could use it in a view with less precision.
Which client library are you using?