跳到主要内容

useFindDescendants()

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

Defined in: hooks.ts:179

查找树实体的全部后代。

Type Parameters

Type Parameter
T extends EntityType

Parameters

ParameterType
EntityTypeT
optionsUseOptions<EntityStaticType<T, "findTreeOptions">>

Returns

RxDBResource<InstanceType<T>[]>