跳到主要内容

useFindAll()

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

Defined in: hooks.ts:201

查找全部实体

Type Parameters

Type Parameter
T extends EntityType

Parameters

ParameterTypeDescription
EntityTypeT实体类
optionsUseOptions<EntityStaticType<T, "findAllOptions">>查询参数

Returns

RxDBResource<InstanceType<T>[]>

返回包含全部实体的资源 signal