fix(package): Fixed Bug where mssql Driver can not handle multiple tables with same name but different schemas.
This commit is contained in:
parent
8a09320345
commit
2a8648b40a
@ -88,7 +88,7 @@ WHERE TABLE_TYPE='BASE TABLE' and TABLE_SCHEMA in (${schema}) AND TABLE_CATALOG
|
||||
entities.forEach(ent => {
|
||||
response
|
||||
.filter(filterVal => {
|
||||
return filterVal.TABLE_NAME === ent.tscName;
|
||||
return filterVal.TABLE_NAME === ent.tscName && ent.schema === schema;
|
||||
})
|
||||
.forEach(resp => {
|
||||
const tscName = resp.COLUMN_NAME;
|
||||
|
Loading…
Reference in New Issue
Block a user