useFindDescendants()
function useFindDescendants<T>(EntityType, options): RxDBResource<InstanceType<T>[]>;
Defined in: use-tree.ts:23
查找树实体的全部后代。
Type Parameters
| Type Parameter |
|---|
T extends TreeEntityType |
Parameters
| Parameter | Type | Description |
|---|---|---|
EntityType | T | 树实体类型。 |
options | UseOptions<EntityStaticType<T, "findDescendantsOptions">> | 树查询选项或幂等 factory。 |
Returns
RxDBResource<InstanceType<T>[]>
后代实体数组的查询资源。