From 421e78f3e86a75c03b1b67bad6647417372c8238 Mon Sep 17 00:00:00 2001 From: Daniel Hensby Date: Tue, 18 Jun 2024 10:35:41 +0100 Subject: [PATCH] fix: support use of native bigint from tedious --- lib/datatypes.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/datatypes.js b/lib/datatypes.js index e4d8e2b8..ce2ce6f3 100644 --- a/lib/datatypes.js +++ b/lib/datatypes.js @@ -160,6 +160,7 @@ module.exports.cast = (value, type, options) => { return `N'${value.replace(/'/g, '\'\'')}'` case 'number': + case 'bigint': return value case 'boolean':