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

Function getMaxRowSizeBytes

apps/sim/lib/table/constants.ts:69–74  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67 * `TABLE_MAX_ROW_SIZE_BYTES` env var (server-only, read at call time).
68 */
69export function getMaxRowSizeBytes(): number {
70 return envNumber(env.TABLE_MAX_ROW_SIZE_BYTES, TABLE_LIMITS.MAX_ROW_SIZE_BYTES, {
71 min: 1,
72 integer: true,
73 })
74}
75
76export type PlanName = keyof typeof DEFAULT_TABLE_PLAN_LIMITS
77

Callers 1

validateRowSizeFunction · 0.90

Calls 1

envNumberFunction · 0.90

Tested by

no test coverage detected