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
| Parameter | Type | Description |
|---|---|---|
EntityType | T | 实体类型。 |
options | UseOptions<EntityStaticType<T, "findByCursorOptions">> | findByCursor 查询选项;after / before 可使用合法实体游标。 |
Returns
RxDBResource<InstanceType<T>[]>
当前页实体数组的查询资源。