跳到主要内容

useFindByCursor()

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

Defined in: rxdb-angular/src/hooks.ts:203

使用游标分页查找实体

Type Parameters​

Type Parameter
T extends EntityType

Parameters​

ParameterTypeDescription
EntityTypeT实体类
optionsUseOptions<EntityStaticType<T, "findByCursorOptions">>游标参数

Returns​

RxDBResource<InstanceType<T>[]>

返回包含实体数组的资源 signal