Skip to content

Comments

BIGINT fields no longer returned as strings#255

Closed
chesles wants to merge 1 commit intomysqljs:masterfrom
chesles:master
Closed

BIGINT fields no longer returned as strings#255
chesles wants to merge 1 commit intomysqljs:masterfrom
chesles:master

Conversation

@chesles
Copy link

@chesles chesles commented Jul 23, 2012

No description provided.

@mscdex
Copy link
Contributor

mscdex commented Jul 23, 2012

-1

BIGINT is an 8-byte field. Once you reach a certain value, JavaScript's Number will start losing precision for integers. The only way to guarantee exact representation is by using a string.

@chesles
Copy link
Author

chesles commented Jul 23, 2012

Hmm. That's something I should have realized... hangs head in shame.

@chesles chesles closed this Jul 23, 2012
dveeden pushed a commit to dveeden/mysql that referenced this pull request Jan 31, 2023
Fix handling of queries without columns and rows
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants