跳到主要内容

useFindDescendants()

function useFindDescendants<T>(EntityType, options): RxDBResource<InstanceType<T>[]>;

Defined in: use-tree.ts:23

查找树实体的全部后代。

Type Parameters​

Type Parameter
T extends TreeEntityType

Parameters​

ParameterTypeDescription
EntityTypeT树实体类型。
optionsUseOptions<EntityStaticType<T, "findDescendantsOptions">>树查询选项或幂等 factory。

Returns​

RxDBResource<InstanceType<T>[]>

后代实体数组的查询资源。