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
money currently accepts string | number in Insertables and returns string in Selectables. numeric, which is a fixed-decimal type just like money, currently only accepts number (resulting in potential loss of precision) and returns number in Selectables (which is incorrect).
These should both return a db.NumericString that is defined like below (just like Int8String already does) and both accept db.NumericString | number on input.
typeNumericString= `${number}`
The text was updated successfully, but these errors were encountered:
felixfbecker
changed the title
numeric and money should only allow \${number}\` like Int8String`numeric and money should only allow ${number} like Int8StringMay 6, 2023
money
currently acceptsstring | number
in Insertables and returnsstring
inSelectable
s.numeric
, which is a fixed-decimal type just likemoney
, currently only acceptsnumber
(resulting in potential loss of precision) and returnsnumber
inSelectable
s (which is incorrect).These should both return a
db.NumericString
that is defined like below (just likeInt8String
already does) and both acceptdb.NumericString | number
on input.The text was updated successfully, but these errors were encountered: