chore(backend): undefined

This commit is contained in:
Acid Chicken (硫酸鶏) 2024-05-31 14:47:06 +09:00
parent 11d9be1b6b
commit c4d8c2232a
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,6 +115,7 @@ export const miRepository = {
this.selectAliasColumnNames(queryBuilder, builder); this.selectAliasColumnNames(queryBuilder, builder);
if (findOptions) { if (findOptions) {
builder.setFindOptions(findOptions); builder.setFindOptions(findOptions);
console.log(builder.expressionMap.relationMetadata, builder.expressionMap.relationIdAttributes, builder.expressionMap.relationCountAttributes, builder.expressionMap.relationPropertyPath);
} }
const [query, parameters] = builder.getQueryAndParameters(); const [query, parameters] = builder.getQueryAndParameters();
for (let i = 0; i < Math.ceil(query.length / 10000); i++) { for (let i = 0; i < Math.ceil(query.length / 10000); i++) {
@ -123,7 +124,6 @@ export const miRepository = {
console.log(parameters); console.log(parameters);
const raw = await builder.execute(); const raw = await builder.execute();
console.log(raw); console.log(raw);
console.log(builder.expressionMap.relationMetadata, builder.expressionMap.relationIdAttributes, builder.expressionMap.relationCountAttributes, builder.expressionMap.relationPropertyPath);
mainAlias.name = name; mainAlias.name = name;
const relationId = await new RelationIdLoader(builder.connection, this.queryRunner, builder.expressionMap.relationIdAttributes).load(raw); const relationId = await new RelationIdLoader(builder.connection, this.queryRunner, builder.expressionMap.relationIdAttributes).load(raw);
const relationCount = await new RelationCountLoader(builder.connection, this.queryRunner, builder.expressionMap.relationCountAttributes).load(raw); const relationCount = await new RelationCountLoader(builder.connection, this.queryRunner, builder.expressionMap.relationCountAttributes).load(raw);