Skip to content

Commit c56a458

Browse files
committed
fix: support use of native bigint from tedious
1 parent 6ae9bca commit c56a458

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/datatypes.js

+1
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,7 @@ module.exports.cast = (value, type, options) => {
160160
return `N'${value.replace(/'/g, '\'\'')}'`
161161

162162
case 'number':
163+
case 'bigint':
163164
return value
164165

165166
case 'boolean':

0 commit comments

Comments
 (0)