Description
MongoDB statements serialize substituted numeric parameters into JSON text and reparse them with Document.parse, which represents ordinary fractional or exponent values as binary doubles and integral values within signed 64-bit bounds. Binding should preserve the supplied BigDecimal or BigInteger value, or reject unsupported ranges explicitly; otherwise query and update values can be rounded or fail only during parsing.
Description
MongoDB statements serialize substituted numeric parameters into JSON text and reparse them with
Document.parse, which represents ordinary fractional or exponent values as binary doubles and integral values within signed 64-bit bounds. Binding should preserve the suppliedBigDecimalorBigIntegervalue, or reject unsupported ranges explicitly; otherwise query and update values can be rounded or fail only during parsing.