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

Method primary

packages/core/src/entity/defineEntity.ts:122–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

120 : PropertyChain<Value, Omit<Options, 'lazyRef'> & { lazyRef: true }>
121 : never;
122 primary(): PropertyChain<Value, Omit<Options, 'primary'> & { primary: true }>;
123 hidden(): PropertyChain<Value, Omit<Options, 'hidden'> & { hidden: true }>;
124 autoincrement(): PropertyChain<Value, Omit<Options, 'autoincrement'> & { autoincrement: true }>;
125 autoincrement(autoincrement: false): PropertyChain<Value, Omit<Options, 'autoincrement'> & { autoincrement: false }>;

Calls

no outgoing calls

Tested by

no test coverage detected