File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change
1
+ Unreleased
2
+ -------------------
3
+ [fix] BigInt type in nodemsqlv8 now treated as strings in parity with the tedious drive ([#1387](https://github.com/tediousjs/node-mssql/pull/1387))
4
+
1
5
v8.1.0 (2022-04-06)
2
6
-------------------
3
- [new] MSSQL CLI tool now accepts some options to allow overriding config file (( #1381](https://github.com/tediousjs/node-mssql/pull/1381))
7
+ [new] MSSQL CLI tool now accepts some options to allow overriding config file ([ #1381](https://github.com/tediousjs/node-mssql/pull/1381))
4
8
[fix] nodemsqlv8 driver tests working against Node 10 ([#1368](https://github.com/tediousjs/node-mssql/pull/1368))
5
9
6
10
v8.0.2 (2022-02-07)
Original file line number Diff line number Diff line change @@ -31,6 +31,7 @@ const castParameter = function (value, type) {
31
31
case TYPES . NChar :
32
32
case TYPES . Xml :
33
33
case TYPES . Text :
34
+ case TYPES . BigInt :
34
35
case TYPES . NText :
35
36
if ( ( typeof value !== 'string' ) && ! ( value instanceof String ) ) {
36
37
value = value . toString ( )
@@ -39,7 +40,6 @@ const castParameter = function (value, type) {
39
40
40
41
case TYPES . Int :
41
42
case TYPES . TinyInt :
42
- case TYPES . BigInt :
43
43
case TYPES . SmallInt :
44
44
if ( ( typeof value !== 'number' ) && ! ( value instanceof Number ) ) {
45
45
value = parseInt ( value )
You can’t perform that action at this time.
0 commit comments