MCPcopy Create free account
hub / github.com/codemix/graph / getDeduplicationKey

Method getDeduplicationKey

packages/graph/src/Steps.ts:4159–4161  ·  view source on GitHub ↗

* Generate a key for deduplication. * For UNION, we primarily care about the result values, not the full path structure. * After RETURN, values are typically arrays of returned column values.

(value: unknown)

Source from the content-addressed store, hash-verified

4157 * After RETURN, values are typically arrays of returned column values.
4158 */
4159 protected getDeduplicationKey(value: unknown): string {
4160 return JSON.stringify(this.serializeValue(value));
4161 }
4162
4163 /**
4164 * Serialize a value for comparison/deduplication.

Callers 1

traverseMethod · 0.95

Calls 1

serializeValueMethod · 0.95

Tested by

no test coverage detected