Skip to content

Commit

Permalink
fix: added instanceName to options (#9968)
Browse files Browse the repository at this point in the history
* added instanceName to options

* run prettier

---------

Co-authored-by: Jens Horch <horch@hector.de>
  • Loading branch information
jenshorch and Jens Horch authored May 9, 2023
1 parent 0305805 commit 7c5627f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/driver/sqlserver/SqlServerConnectionOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,11 @@ export interface SqlServerConnectionOptions
* Extra options
*/
readonly options?: {
/**
* The named instance to connect to
*/
readonly instanceName?: string

/**
* By default, if the database requestion by options.database cannot be accessed, the connection will fail with
* an error. However, if options.fallbackToDefaultDb is set to true, then the user's default database will
Expand Down

0 comments on commit 7c5627f

Please sign in to comment.