fix(sap): pass the configured schema to the db client (#11321)

This commit is contained in:
Lucian Mocanu 2025-03-06 12:57:12 +01:00 committed by GitHub
parent 40cc6886d5
commit 04ca83a72f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -254,6 +254,7 @@ export class SapDriver implements Driver {
}
if (this.options.database) dbParams.databaseName = this.options.database
if (this.options.schema) dbParams.currentSchema = this.options.schema
if (this.options.encrypt) dbParams.encrypt = this.options.encrypt
if (this.options.sslValidateCertificate)
dbParams.validateCertificate = this.options.sslValidateCertificate