fix: multiple insert in SAP Hana (#10597)

Co-authored-by: Philipp Haeusle <>
This commit is contained in:
sagentac 2024-01-26 06:30:40 +01:00 committed by GitHub
parent 7e85460f10
commit 1b34c9a49e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -459,7 +459,10 @@ export class InsertQueryBuilder<
// add VALUES expression
if (valuesExpression) {
if (
this.connection.driver.options.type === "oracle" &&
(
this.connection.driver.options.type === "oracle" ||
this.connection.driver.options.type === "sap"
) &&
this.getValueSets().length > 1
) {
query += ` ${valuesExpression}`