Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Number is geting rounded when being read by knex #2555

@AstroGD

Description

@AstroGD

#Environment

Knex version: 0.14.4
Database + version: Mysql 2.15
OS: Linux Debian
@Grimace1975

#Bug

1. Explain what kind of behaviour you are getting and how you think it should do
I am reading all Entrys of a table using this code:
await knex.select("*").from(table);
The Entry for the column "channelid" is 361543889154473984 (Bigint(20))
But instead of 361543889154473984, knex is returning 361543889154474000.

2. Error message
There is no Error Message being provided

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions