8000 docs: fix listed default BIGINT typecast · mysqljs/mysql@e2f5b3d · GitHub
[go: up one dir, main page]

Skip to conte 8000 nt

Commit e2f5b3d

Browse files
committed
docs: fix listed default BIGINT typecast
fixes #2432
1 parent 2ddcedd commit e2f5b3d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Readme.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1352,7 +1352,8 @@ one of your callback functions throws an error which you're catching using
13521352
## Type casting
13531353

13541354
For your convenience, this driver will cast mysql types into native JavaScript
1355-
types by default. The following mappings exist:
1355+
types by default. The default behavior can be changed through various
1356+
[Connection options](#connection-options). The following mappings exist:
13561357

13571358
### Number
13581359

@@ -1363,6 +1364,7 @@ types by default. The following mappings exist:
13631364
* YEAR
13641365
* FLOAT
13651366
* DOUBLE
1367+
* BIGINT
13661368

13671369
### Date
13681370

@@ -1394,7 +1396,6 @@ than a string.
13941396
* ENUM
13951397
* SET
13961398
* DECIMAL (may exceed float precision)
1397-
* BIGINT (may exceed float precision)
13981399
* TIME (could be mapped to Date, but what date would be set?)
13991400
* GEOMETRY (never used those, get in touch if you do)
14001401

0 commit comments

Comments
 (0)
0