chore(backend): check hasMetadata
This commit is contained in:
parent
7a219c0bed
commit
6a765db925
|
@ -87,6 +87,7 @@ export interface MiRepository<T extends ObjectLiteral> {
|
|||
|
||||
export const miRepository = {
|
||||
createTableColumnNames(queryBuilder) {
|
||||
console.log(queryBuilder.expressionMap.mainAlias?.hasMetadata);
|
||||
// @ts-expect-error -- protected
|
||||
const insertedColumns = queryBuilder.getInsertedColumns();
|
||||
if (insertedColumns.length) {
|
||||
|
|
Loading…
Reference in New Issue