I have a column in PostgreSQL:
person_type: INTEGER
This is mapped to a JavaScript number | null
just as it should be.
If instead, the column is defined via a PostgreSQL domain that is itself simply an alias for INTEGER, or INT4 like so:
CREATE DOMAIN FOREIGN_KEY AS INTEGER
...
person_type: FOREIGN_KEY
Then it is mapped as string | null
. In fact this behavior remains even if the domain is aliased to SMALLINT
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