Skip to content

Commit

Permalink
feat(mssql): allow options object which is forwaded to mssql driver
Browse files Browse the repository at this point in the history
Fixes #620
  • Loading branch information
thetutlage committed Nov 30, 2020
1 parent 62e321b commit 8cb23be
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions adonis-typings/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion npm-audit.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h5 class="card-title">
<div class="card">
<div class="card-body">
<h5 class="card-title">
November 30th 2020, 2:53:04 pm
November 30th 2020, 3:01:37 pm
</h5>
<p class="card-text">Last updated</p>
</div>
Expand Down

0 comments on commit 8cb23be

Please sign in to comment.