Skip to content

JSON Column type will lose precision when include bigint #1624

Open
@sheldonzf

Description

@sheldonzf

if mysql column is
{ "TemplateId": 7088992364139642880 }

when I query used mysql2.

It wil be
{ "TemplateId": 7088992364139642000 }.

And I found text_parse.js, It used JSON.parse not JSONBig, So it would lose precision when occurs bigint.
image

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions