Currently, a Postgres numeric
can be inserted as number, but only queried as a string.
I know that Postgres numeric
types can hold values larger than the ~2^53 largest JS integer, so I understand the rationale for allowing strings, but not why it's mandatory.
Current:
export type Numeric = ColumnType<string, number | string, number | string>;
We could simplify to:
export type Numeric = string | number;
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too