MCPcopy Create free account
hub / github.com/zenstackhq/zenstack / formatName

Function formatName

packages/cli/src/actions/pull/utils.ts:108–108  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

106 }
107
108 const formatName = (name: string) => `${schema && includeSchema ? `${schema}.` : ''}${name}`;
109
110 const nameAttr = decl.attributes.find((a) => a.decl.ref?.name === '@@map' || a.decl.ref?.name === '@map');
111 if (!nameAttr) return formatName(decl.name);

Callers 1

getDbNameFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected