跳到主要内容

useFindByCursor()

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

Defined in: rxdb-react/src/hooks.ts:235

使用游标分页查找实体。

Type Parameters​

Type Parameter
T extends EntityType

Parameters​

ParameterTypeDescription
EntityTypeT实体类型。
optionsUseOptions<EntityStaticType<T, "findByCursorOptions">>findByCursor 查询选项;after / before 可使用合法实体游标。

Returns​

RxDBResource<InstanceType<T>[]>

当前页实体数组的查询资源。