跳到主要内容

useFindAll()

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

Defined in: hooks.ts:227

Find all entities

Type Parameters

Type Parameter
T extends EntityType

Parameters

ParameterTypeDescription
EntityTypeTThe entity class
optionsUseOptions<EntityStaticType<T, "findAllOptions">>Query options

Returns

RxDBResource<InstanceType<T>[]>

A resource object containing all entities