On 4/1/10 at 7:22 PM, jchris@gmail.com (J Chris Anderson) wrote:
>On Apr 1, 2010, at 4:14 PM, Matthew Sinclair-Day wrote:
>
>>Hi,
>>
>>I have upgraded to the 0.11 release and have noticed Couch is
>>changing integer values into floats. 1270162450695 became
>>1270162450695.0. This is a change from the 0.10.1 release. Is
>>there a way to tell Couch not to do this?
>>
>
>You mean in the view engine. The document store will not effect data.
>
>The view engine is just JS, which has no distinction between integers and floats.
>
>I'm not sure why this would be different from the past.
>
>Chris
>
I'm accessing the document directly by its ID, not by a view.
Does this still go through the view engine? I have confirmed
the JSON going into couch specifies an integer, and the JSON
coming out of couch has it as a float.
Matt
|