chore(backend): check hasMetadata

This commit is contained in:
Acid Chicken (硫酸鶏) 2024-05-31 19:23:46 +09:00
parent 7a219c0bed
commit 6a765db925
No known key found for this signature in database
GPG Key ID: 3E87B98A3F6BAB99
1 changed files with 1 additions and 0 deletions

View File

@ -87,6 +87,7 @@ export interface MiRepository<T extends ObjectLiteral> {
export const miRepository = { export const miRepository = {
createTableColumnNames(queryBuilder) { createTableColumnNames(queryBuilder) {
console.log(queryBuilder.expressionMap.mainAlias?.hasMetadata);
// @ts-expect-error -- protected // @ts-expect-error -- protected
const insertedColumns = queryBuilder.getInsertedColumns(); const insertedColumns = queryBuilder.getInsertedColumns();
if (insertedColumns.length) { if (insertedColumns.length) {