mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
fix: multiple insert in SAP Hana (#10597)
Co-authored-by: Philipp Haeusle <>
This commit is contained in:
parent
7e85460f10
commit
1b34c9a49e
@ -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}`
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user