-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Milestone
Description
Related: #353
Back in 2013 this was a good idea, as BIGINTs would lose precision when converted to JavaScript numbers (which are doubles).
Today we have native BigInt support in JavaScript, can we reconsider returning/accepting BigInts when doing database operations with the BIGINT type?
Pros and cons as far as I can tell:
Pros:
- More accurate data representation
- Easier client-side processing (can use real math operations on BigInts)
Cons:
- Breaking change
- BigInt is not serializable to JSON, extra work for database clients is required for that.
Thoughts?
MaximeBernard, ORESoftware, benlesh, jean343, victorjatoba and 11 morevitaly-tMaximeBernard, ORESoftware, jean343, victorjatoba and rijkvanzanten
Metadata
Metadata
Assignees
Labels
No labels