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

Function findConnectionRow

packages/core/sdk/src/executor.ts:1968–1978  ·  view source on GitHub ↗
(
      ref: ConnectionRef,
    )

Source from the content-addressed store, hash-verified

1966 // ------------------------------------------------------------------
1967
1968 const findConnectionRow = (
1969 ref: ConnectionRef,
1970 ): Effect.Effect<ConnectionRow | null, StorageFailure> =>
1971 core.findFirst("connection", {
1972 where: (b: AnyCb) =>
1973 b.and(
1974 byOwner(ref.owner)(b),
1975 b("integration", "=", String(ref.integration)),
1976 b("name", "=", String(ref.name)),
1977 ),
1978 });
1979
1980 // Key for the shared in-flight refresh gate (`refreshInFlight`, bound at
1981 // the top of `createExecutor`). The tenant leads because the gate spans

Callers 12

connectionsCreateFunction · 0.85
mintOAuthConnectionFunction · 0.85
connectionsGetFunction · 0.85
connectionsUpdateFunction · 0.85
connectionsRemoveFunction · 0.85
connectionsRefreshFunction · 0.85
connectionCheckHealthFunction · 0.85
executeFunction · 0.85
createExecutorFunction · 0.85

Calls 1

byOwnerFunction · 0.85

Tested by

no test coverage detected