chore(backend): undefined
This commit is contained in:
parent
11d9be1b6b
commit
c4d8c2232a
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue