mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
fixes #479
This commit is contained in:
parent
6675dcf715
commit
6e82e7137e
@ -1449,7 +1449,7 @@ export class QueryBuilder<Entity> {
|
||||
}
|
||||
|
||||
if (!conditions.length)
|
||||
return "";
|
||||
return this.expressionMap.extraAppendedAndWhereCondition ? " WHERE " + this.replacePropertyNames(this.expressionMap.extraAppendedAndWhereCondition) : "";
|
||||
|
||||
if (this.expressionMap.extraAppendedAndWhereCondition)
|
||||
return " WHERE (" + conditions + ") AND " + this.replacePropertyNames(this.expressionMap.extraAppendedAndWhereCondition);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user