Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions source/data-modeling/field-types.txt
Original file line number Diff line number Diff line change
Expand Up @@ -313,9 +313,9 @@ You can use the ``BigDecimal`` type to store numbers with increased precision.
{+odm+} stores ``BigDecimal`` values in two different ways, depending on the
value you set for the ``Mongoid.map_big_decimal_to_decimal128`` configuration property:

- If set to ``true``, {+odm+} stores ``BigDecimal`` values as BSON ``Decimal128``
- If set to ``true`` (default), {+odm+} stores ``BigDecimal`` values as BSON ``Decimal128``
values.
- If set to ``false`` (default), {+odm+} stores ``BigDecimal`` values as strings.
- If set to ``false``, {+odm+} stores ``BigDecimal`` values as strings.

Consider the following limitations when setting the
``Mongoid.map_big_decimal_to_decimal128`` option to ``true``:
Expand Down
Loading