Add support for 64-bit integers
See original GitHub issueProblem
Lots of database support 64-bit integers. We don’t support them yet because not all databases support them.
Possible Solution
In the databases that support 64-bit integers, we add datasource-specific attributes to define 64-bit types.
Original Issue
Prisma1 did not support
Long
integers (64-Bit). Will Prisma2 supportLong
(64-Bit) in parallel toInt
(32-Bit)?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:3
- Comments:16 (8 by maintainers)
Top Results From Across the Web
Add support for 64-bit integers · Issue #5001 · prisma ... - GitHub
Prisma 2 doesn't currently support 64bit integers, however we're planning to add support for them depending on the database using Type Definitions.
Read more >Can you add two 64-bit integers natively in x86?
1 Answer 1 · the most recommended way is to do an addition in two steps with an add and then an adc...
Read more >How Cheerp supports 64-bit integers in both JavaScript and ...
In this post, we will explain why supporting 64-bit integers requires special attention and what we will be able to do in the...
Read more >Support 64-bit architectures - Android Developers
Apps published on Google Play need to support 64-bit architectures. Adding a 64-bit version of your app provides performance improvements and sets you...
Read more >Is it possible to have a 64bit Integer addition in C? - Keil forum
I just think i have to divide my 64bit long word into a low and high 32bit value. First the low addition, then...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hey @nickreynke!
Prisma 2 doesn’t currently support 64bit integers, however we’re planning to add support for them depending on the database using Type Definitions.
While we haven’t implemented them yet
We’re also looking for feedback on the syntax, so if you have any thoughts there let me know. Would this address your issue?
Is there any workaround to use bigint in js?