Skip to content
New issue

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

Database type -> JS Type Mapping table is incorrect for unsigned ints #6000

Open
Druue opened this issue May 13, 2024 · 0 comments
Open

Database type -> JS Type Mapping table is incorrect for unsigned ints #6000

Druue opened this issue May 13, 2024 · 0 comments
Labels
docs Documentation creation, updates or corrections

Comments

@Druue
Copy link
Contributor

Druue commented May 13, 2024

The table in the following section misses type mappings for unsigned integers.

Whilst signed 32-bit integers have an upper-bound of 2147483647, unsigned 32-bit integers top out at 4294967295 which is beyond what js' number can handle and lands in bigint

MySQL docs

image

Related issue: prisma/prisma#24136

@Druue Druue added the docs Documentation creation, updates or corrections label May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation creation, updates or corrections
Projects
None yet
Development

No branches or pull requests

1 participant