API 参考
正在准备搜索索引...
@142vip/nest-typeorm
RelationId
函数 RelationId
RelationId
<
T
>
(
relation
:
string
|
(
(
object
:
T
)
=>
any
)
,
alias
?:
string
,
queryBuilderFactory
?:
(
qb
:
SelectQueryBuilder
<
any
>
,
)
=>
SelectQueryBuilder
<
any
>
,
)
:
PropertyDecorator
实验性
Special decorator used to extract relation id into separate entity property.
类型参数
T
参数
relation
:
string
|
(
(
object
:
T
)
=>
any
)
可选
alias
:
string
可选
queryBuilderFactory
:
(
qb
:
SelectQueryBuilder
<
any
>
)
=>
SelectQueryBuilder
<
any
>
返回
PropertyDecorator
显示设置
成员可见性
受保护
继承
外部
配色
自动
浅色
深色
API 参考
加载中……
Special decorator used to extract relation id into separate entity property.