useFindByCursor()
function useFindByCursor<T>(EntityType, options): RxDBResource<InstanceType<T>[]>;
Defined in: hooks.ts:221
使用游标分页查找实体
Type Parameters
| Type Parameter |
|---|
T extends EntityType |
Parameters
| Parameter | Type | Description |
|---|---|---|
EntityType | T | 实体类 |
options | UseOptions<EntityStaticType<T, "findByCursorOptions">> | 游标分页选项(where, orderBy, limit, after, before) |
Returns
RxDBResource<InstanceType<T>[]>
包含实体数组的响应式资源对象