MCPcopy Create free account
hub / github.com/mikro-orm/mikro-orm / normalizeQuotedIdentifiers

Function normalizeQuotedIdentifiers

packages/sql/src/schema/partitioning.ts:59–59  ·  view source on GitHub ↗
(value: string)

Source from the content-addressed store, hash-verified

57const stripDoubleQuotes = (value: string): string => mapOutsideLiterals(value, s => s.replaceAll('"', ''));
58
59const normalizeQuotedIdentifiers = (value: string): string => stripDoubleQuotes(normalizeWhitespace(value));
60
61const findMatchingParenthesis = (value: string, start: number): number => {
62 let depth = 0;

Callers 2

diffPartitioningFunction · 0.85
serializePartitionFunction · 0.85

Calls 2

stripDoubleQuotesFunction · 0.85
normalizeWhitespaceFunction · 0.85

Tested by

no test coverage detected