1 | import { SelectQueryBuilder } from "../query-builder/SelectQueryBuilder";
|
2 |
|
3 |
|
4 |
|
5 | export interface RelationCountMetadataArgs {
|
6 | |
7 |
|
8 |
|
9 | readonly target: Function;
|
10 | |
11 |
|
12 |
|
13 | readonly propertyName: string;
|
14 | |
15 |
|
16 |
|
17 | readonly relation: string | ((object: any) => any);
|
18 | /**
|
19 | * Alias of the joined (destination) table.
|
20 | */
|
21 | readonly alias?: string;
|
22 | /**
|
23 | * Extra condition applied to "ON" section of join.
|
24 | */
|
25 | readonly queryBuilderFactory?: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>;
|
26 | }
|