跳到主要内容

useFindByCursor()

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

Defined in: rxdb-vue/src/hooks.ts:338

使用游标分页查找实体

Type Parameters​

Type Parameter
T extends EntityType

Parameters​

ParameterTypeDescription
EntityTypeT实体类
optionsUseOptions<EntityStaticType<T, "findByCursorOptions">>游标分页选项(where, orderBy, limit, after, before)

Returns​

RxDBResource<InstanceType<T>[]>

包含实体数组的响应式资源对象