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

Function cloneRow

packages/agents-runtime/src/setup-context.ts:416–418  ·  view source on GitHub ↗
(
      row: Record<string, unknown>
    )

Source from the content-addressed store, hash-verified

414 let backingDb: EntityStreamDBWithActions | null = null
415
416 const cloneRow = (
417 row: Record<string, unknown>
418 ): Record<string, unknown> => ({ ...row })
419
420 const getPrimaryKey = (collName: string): string => {
421 return schema[collName]!.primaryKey

Callers 1

buildSharedStateHandleFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected