跳到主要内容

EdgeFilterOptionsFull<EdgeProperties>

Defined in: rxdb-plugin-graph/src/graph-repository.interface.ts:66

边过滤条件(权重 + 属性)

Extends​

Type Parameters​

Type ParameterDefault type
EdgePropertiesGraphEdgePropertiesRecord

Properties​

properties?​

optional properties?: EdgeProperties;

Defined in: rxdb-plugin-graph/src/graph-repository.interface.ts:60

边属性过滤(简单键值匹配)

Example​

{ category: 'business', type: 'partner' }

Remarks​

仅支持相等匹配,不支持范围/模糊查询

Inherited from​

EdgeFilterOptionsWithProperties.properties


weight?​

optional weight?: object;

Defined in: rxdb-plugin-graph/src/graph-repository.interface.ts:46

权重范围过滤

max?​

optional max?: number;

min?​

optional min?: number;

Example​

{ min: 1, max: 10 }

Inherited from​

EdgeFilterOptionsWithWeight.weight