You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
when saving to mongodb with mongo go driver, the decimal.Big is created with an empty context only.
Maybe you don't want this dependency, but how can serialize this?
As a workaround I'm saving as Float64 and converting to decimal.Big when performing operations, but is not the most eloquent way for me.
The text was updated successfully, but these errors were encountered:
I think he means that when saving a decimal.Big in mongodb this is the result that is written into the db.
I'm too wondering if it would make if this library would support marshaling into (I guess) a Decimal128 as supported by mongodb.
when saving to mongodb with mongo go driver, the decimal.Big is created with an empty context only.
Maybe you don't want this dependency, but how can serialize this?
As a workaround I'm saving as Float64 and converting to decimal.Big when performing operations, but is not the most eloquent way for me.
The text was updated successfully, but these errors were encountered: