Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface RelationCountMetadataArgs
import { type RelationCountMetadataArgs } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/metadata-args/RelationCountMetadataArgs.ts";

Arguments for RelationCountMetadata class.

Properties

readonly
target: Function

Class to which this decorator is applied.

readonly
propertyName: string

Class's property name to which this decorator is applied.

readonly
relation: string | ((object: any) => any)

Target's relation which it should count.

readonly
optional
alias: string

Alias of the joined (destination) table.

readonly
optional
queryBuilderFactory: (qb: SelectQueryBuilder<any>) => SelectQueryBuilder<any>

Extra condition applied to "ON" section of join.