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

Function byOwner

packages/core/sdk/src/executor.ts:2172–2176  ·  view source on GitHub ↗
(owner: Owner)

Source from the content-addressed store, hash-verified

2170
2171 const byOwner =
2172 (owner: Owner): CoreWhere =>
2173 (b: AnyCb) => {
2174 const keys = owner === "org" ? ORG_SUBJECT : (subject ?? "__none__");
2175 return b.and(b("owner", "=", owner), b("subject", "=", keys));
2176 };
2177
2178 // ------------------------------------------------------------------
2179 // Credential resolution

Callers 15

findConnectionRowFunction · 0.85
loadOAuthClientRowFunction · 0.85
markRefreshGrantDeadFunction · 0.85
persistRefreshedTokenFunction · 0.85
whereFunction · 0.85
connectionWhereFunction · 0.85
connectionsCreateFunction · 0.85
connectionsUpdateFunction · 0.85
connectionsRemoveFunction · 0.85
toolSchemaFunction · 0.85
policiesCreateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected