schangxiang@126.com
2025-09-19 0821aa23eabe557c0d9ef5dbe6989c68be35d1fe
1
{"version":3,"sources":["../browser/src/metadata-args/RelationIdMetadataArgs.ts"],"names":[],"mappings":"","file":"RelationIdMetadataArgs.js","sourcesContent":["import {SelectQueryBuilder} from \"../query-builder/SelectQueryBuilder\";\n/**\n * Arguments for RelationIdMetadataArgs class.\n */\nexport interface RelationIdMetadataArgs {\n\n    /**\n     * Class to which this decorator is applied.\n     */\n    readonly target: Function;\n\n    /**\n     * Class's property name to which this decorator is applied.\n     */\n    readonly propertyName: string;\n\n    /**\n     * Target's relation which it should count.\n     */\n    readonly relation: string|((object: any) => any);\n\n    /**\n     * Alias of the joined (destination) table.\n     */\n    readonly alias?: string;\n\n    /**\n     * Extra condition applied to \"ON\" section of join.\n     */\n    readonly queryBuilderFactory?: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>;\n\n}\n"],"sourceRoot":".."}