useGet()
function useGet<T>(EntityType, options): RxDBResource<InstanceType<T> | undefined>;
Defined in: hooks.ts:110
通过 ID 获取单个实体。
Type Parameters
| Type Parameter |
|---|
T extends EntityType |
Parameters
| Parameter | Type |
|---|---|
EntityType | T |
options | UseOptions<EntityStaticType<T, "getOptions">> |
Returns
RxDBResource<InstanceType<T> | undefined>