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

Function findConnectionRow

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

Source from the content-addressed store, hash-verified

2180 // ------------------------------------------------------------------
2181
2182 const findConnectionRow = (
2183 ref: ConnectionRef,
2184 ): Effect.Effect<ConnectionRow | null, StorageFailure> =>
2185 core.findFirst("connection", {
2186 where: (b: AnyCb) =>
2187 b.and(
2188 byOwner(ref.owner)(b),
2189 b("integration", "=", String(ref.integration)),
2190 b("name", "=", String(ref.name)),
2191 ),
2192 });
2193
2194 // Key for the shared in-flight refresh gate (`refreshInFlight`, bound at
2195 // the top of `createExecutor`). The tenant leads because the gate spans

Callers 15

stampSyncedWithHealthFunction · 0.85
connectionsCreateFunction · 0.85
mintOAuthConnectionFunction · 0.85
connectionsGetFunction · 0.85
connectionsUpdateFunction · 0.85
connectionsRemoveFunction · 0.85
connectionsRefreshFunction · 0.85
healPersistedHealthOnUseFunction · 0.85
persistProbeHealthResultFunction · 0.85

Calls 1

byOwnerFunction · 0.85

Tested by

no test coverage detected