invisal / libsql-studio

A lightweight LibSQL/rqlite graphical client on your browser
https://libsqlstudio.com
MIT License
162 stars 13 forks source link

Support for displaying large numbers #77

Closed sveltespot closed 3 months ago

sveltespot commented 3 months ago

Hey, thanks for this awesome piece of software. I am currently having an issue where large numbers in my id column (int64) are unable to be displayed, which causes the entire column to not getting displayed. I get the following error:

RangeError: Received integer which is too large to be safely represented as a JavaScript number

Unfortunately, this is a critical bug for our use case because most of our ids are snowflake IDs which are 64bit integers.

invisal commented 3 months ago

Thanks. We will explore the possibility to work with bigint, if it is something that we can quickly do it.

invisal commented 3 months ago

This is already in production. We now support big number.