MCPcopy Index your code
hub / github.com/simstudioai/sim / getMaxRowsPerTable

Function getMaxRowsPerTable

apps/sim/lib/table/billing.ts:255–258  ·  view source on GitHub ↗
(workspaceId: string)

Source from the content-addressed store, hash-verified

253 * @returns Maximum rows per table (-1 for unlimited)
254 */
255export async function getMaxRowsPerTable(workspaceId: string): Promise<number> {
256 const limits = await getWorkspaceTableLimits(workspaceId)
257 return limits.maxRowsPerTable
258}

Callers 4

billing.test.tsFile · 0.90
upsertRowFunction · 0.90
route.tsFile · 0.90
assertRowCapacityFunction · 0.85

Calls 1

getWorkspaceTableLimitsFunction · 0.85

Tested by

no test coverage detected