MCPcopy
hub / github.com/simstudioai/sim / where

Function where

apps/sim/lib/billing/core/plan.test.ts:38–42  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36 from: (table: { __table: string }) => {
37 fromCalls.push(table.__table)
38 const where = () => {
39 const queue = resultsByTable[table.__table]
40 const next = queue.length > 0 ? queue.shift() : []
41 return Promise.resolve(next ?? [])
42 }
43 return { where }
44 },
45 }))

Callers

nothing calls this directly

Calls 2

shiftMethod · 0.80
resolveMethod · 0.65

Tested by

no test coverage detected