MCPcopy Index your code
hub / github.com/CapSoftware/Cap / buildSchemaLines

Function buildSchemaLines

scripts/analytics/shared.js:79–80  ·  view source on GitHub ↗
(table)

Source from the content-addressed store, hash-verified

77const normalizeWhitespace = (value) => value.replace(/\s+/g, " ").trim();
78
79const buildSchemaLines = (table) =>
80 table.columns.map((column) => `${column.name} ${column.type}`);
81
82function formatHost(host) {
83 if (!host) return DEFAULT_TINYBIRD_HOST;

Callers 1

buildExpectedSchemaFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected