libsql-client-ts icon indicating copy to clipboard operation
libsql-client-ts copied to clipboard

Switch integer mode default to `bigint`?

Open penberg opened this issue 2 years ago • 1 comments

Alexey Orlenko asked if there's a reason for integer mode to default to number instead of bigint.

penberg avatar Sep 13 '23 11:09 penberg

@honzasp and I discussed that BigInts are in no way "normal" for JS devs to deal with, and would likely cause more troubles than problems solved if they were the default for row data. If this is the case, then it only makes sense for people to opt into them when they are prepared for the extra effort involved in understanding and dealing with them.

CodingDoug avatar Sep 13 '23 12:09 CodingDoug