Skip to main content
Latest
interface RelationIdMetadataArgs
import { type RelationIdMetadataArgs } from "https://deno.land/x/typeorm@v0.2.23-rc10/src/metadata-args/RelationIdMetadataArgs.ts";

Arguments for RelationIdMetadataArgs 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.