MCPcopy Create free account
hub / github.com/electric-sql/electric / getPrimaryKey

Function getPrimaryKey

packages/agents-runtime/src/setup-context.ts:420–422  ·  view source on GitHub ↗
(collName: string)

Source from the content-addressed store, hash-verified

418 ): Record<string, unknown> => ({ ...row })
419
420 const getPrimaryKey = (collName: string): string => {
421 return schema[collName]!.primaryKey
422 }
423
424 const getRowKey = (
425 collName: string,

Callers 2

getRowKeyFunction · 0.85
buildSharedStateHandleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected