useFindAll()
function useFindAll<T>(EntityType, options): RxDBResource<InstanceType<T>[]>;
Defined in: rxdb-react/src/hooks.ts:253
查找全部实体。
Type Parameters
| Type Parameter |
|---|
T extends EntityType |
Parameters
| Parameter | Type | Description |
|---|---|---|
EntityType | T | 实体类型。 |
options | UseOptions<EntityStaticType<T, "findAllOptions">> | findAll 查询选项或幂等 factory。 |
Returns
RxDBResource<InstanceType<T>[]>
以空数组为初值的查询资源。