We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a column in PostgreSQL:
person_type: INTEGER
This is mapped to a JavaScript number | null just as it should be.
number | null
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
string | null
SMALLINT
The text was updated successfully, but these errors were encountered:
No branches or pull requests
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:
Then it is mapped as
string | null
. In fact this behavior remains even if the domain is aliased toSMALLINT
Upvote & Fund
The text was updated successfully, but these errors were encountered: