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 = {
|
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) {
|
||||||
|
|
Loading…
Reference in New Issue