MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / rowIdOf

Function rowIdOf

packages/core/sdk/src/executor.ts:3686–3689  ·  view source on GitHub ↗
(row: unknown)

Source from the content-addressed store, hash-verified

3684 // on insert; a create result without it is a broken storage contract
3685 // and fails here, inside the transaction, before any provider write.
3686 const rowIdOf = (row: unknown): string | null => {
3687 const value = row == null ? null : (row as Record<string, unknown>)["row_id"];
3688 return typeof value === "string" ? value : null;
3689 };
3690 const insertedRowId = yield* transaction(
3691 Effect.gen(function* () {
3692 const existing = yield* findConnectionRow({

Callers 1

connectionsCreateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected