From fb340104edfccca7183b52b4e17cc926c1ab7dc3 Mon Sep 17 00:00:00 2001 From: Thomas Gauvin <35609369+thomasgauvin@users.noreply.github.com> Date: Thu, 30 Jan 2025 15:44:24 -0500 Subject: [PATCH] Update lib/connection_config.js MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Weslley Araújo <46850407+wellwelwel@users.noreply.github.com> --- lib/connection_config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/connection_config.js b/lib/connection_config.js index cb47b43937..40f25f5098 100644 --- a/lib/connection_config.js +++ b/lib/connection_config.js @@ -148,7 +148,7 @@ class ConnectionConfig { this.nestTables = options.nestTables === undefined ? undefined : options.nestTables; this.typeCast = options.typeCast === undefined ? true : options.typeCast; - this.useStaticParser = options.useStaticParser || false; + this.useStaticParser = Boolean(options.useStaticParser); if (this.timezone[0] === ' ') { // "+" is a url encoded char for space so it // gets translated to space when giving a