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

Function normalizeSchema

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

Source from the content-addressed store, hash-verified

401 }
402
403 const normalizeSchema = (schema?: string) => (schema && schema !== defaultSchema ? schema : '');
404 const serializePartition = (partition: TablePartition) =>
405 `${normalizeSchema(partition.schema)}.${partition.name}:${normalizeQuotedIdentifiers(normalizePartitionBound(partition.bound))}`;
406

Callers 1

serializePartitionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected