useCountNeighbors()
function useCountNeighbors<T>(EntityType, options): RxDBResource<number>;
Defined in: hooks.ts:337
Count neighbor entities in a graph structure
Type Parameters
| Type Parameter |
|---|
T extends EntityType |
Parameters
| Parameter | Type | Description |
|---|---|---|
EntityType | T | The entity class |
options | UseOptions<EntityStaticType<T, "findNeighborsOptions">> | Graph query options |
Returns
RxDBResource<number>
A reactive resource object containing the count