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