From 8cb23be3009c0dc59ba68cf4574eb04a92d8952a Mon Sep 17 00:00:00 2001 From: Harminder Virk Date: Mon, 30 Nov 2020 20:31:34 +0530 Subject: [PATCH] feat(mssql): allow options object which is forwaded to mssql driver Fixes #620 --- adonis-typings/database.ts | 4 ++++ npm-audit.html | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/adonis-typings/database.ts b/adonis-typings/database.ts index 120a196b..35fa0b12 100644 --- a/adonis-typings/database.ts +++ b/adonis-typings/database.ts @@ -451,6 +451,10 @@ declare module '@ioc:Adonis/Lucid/Database' { connectionTimeout?: number requestTimeout?: number parseJSON?: boolean + // https://github.com/knex/knex/blob/master/lib/dialects/mssql/index.js#L97 + options?: { + encrypt?: boolean + } } export type MssqlConfig = SharedConfigNode & { client: 'mssql' diff --git a/npm-audit.html b/npm-audit.html index d5607bea..94e94082 100644 --- a/npm-audit.html +++ b/npm-audit.html @@ -55,7 +55,7 @@
- November 30th 2020, 2:53:04 pm + November 30th 2020, 3:01:37 pm

Last updated