typeorm 0.3.20-dev.8f371f2 → 0.3.20-dev.d0b7670

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1983,7 +1983,7 @@ export class SapQueryRunner extends BaseQueryRunner {
1983
1983
  */
1984
1984
  escapePath(target) {
1985
1985
  const { schema, tableName } = this.driver.parseTableName(target);
1986
- if (schema) {
1986
+ if (schema && schema !== this.driver.schema) {
1987
1987
  return `"${schema}"."${tableName}"`;
1988
1988
  }
1989
1989
  return `"${tableName}"`;