Skip to content

Commit

Permalink
fix: support use of native bigint from tedious
Browse files Browse the repository at this point in the history
  • Loading branch information
dhensby committed Jun 18, 2024
1 parent b5efe2f commit 421e78f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/datatypes.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,7 @@ module.exports.cast = (value, type, options) => {
return `N'${value.replace(/'/g, '\'\'')}'`

case 'number':
case 'bigint':
return value

case 'boolean':
Expand Down

0 comments on commit 421e78f

Please sign in to comment.