跳到主要内容

useFindAncestors()

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

Defined in: hooks.ts:198

查找树实体的全部祖先。

Type Parameters

Type Parameter
T extends EntityType

Parameters

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

Returns

RxDBResource<InstanceType<T>[]>