fix(backend): quote

This commit is contained in:
Acid Chicken (硫酸鶏) 2024-05-29 22:38:38 +09:00
parent 9227496389
commit be8ea15983
No known key found for this signature in database
GPG Key ID: 3E87B98A3F6BAB99
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ export const miRepository = {
return builder.select(selection, selectionAliasName);
};
for (const columnName of this.createTableColumnNames(queryBuilder)) {
selectOrAddSelect(`"${builder.alias}"."__disambiguation__${columnName}"`, `"${builder.alias}_${columnName}"`);
selectOrAddSelect(`"${builder.alias}"."__disambiguation__${columnName}"`, `${builder.alias}_${columnName}`);
}
},
} satisfies MiRepository<ObjectLiteral>;