useRepositoryQuery()
function useRepositoryQuery<T, TOptions, RT>(
EntityType,
method,
defaultValue,
options): RxDBResource<RT>;
Defined in: hooks.ts:47
RxDB 仓库查询的核心钩子实现 管理响应式订阅和状态更新
Type Parameters
| Type Parameter |
|---|
T extends EntityType |
TOptions |
RT |
Parameters
| Parameter | Type |
|---|---|
EntityType | T |
method | string |
defaultValue | RT |
options | UseOptions<TOptions> |
Returns
RxDBResource<RT>