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

Function qualify

packages/sql/src/schema/partitioning.ts:444–445  ·  view source on GitHub ↗
(partition: TablePartition)

Source from the content-addressed store, hash-verified

442
443 const expression = unwrapOuterParentheses(rawExpression);
444 const qualify = (partition: TablePartition) =>
445 partition.schema && partition.schema !== parentSchema ? `${partition.schema}.${partition.name}` : partition.name;
446
447 if (type === 'hash') {
448 // Collapse to a bare count when catalog names follow the default

Callers 1

toEntityPartitionByFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected