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

Method incrementCount

packages/core/src/entity/Collection.ts:1007–1011  ·  view source on GitHub ↗
(value: number)

Source from the content-addressed store, hash-verified

1005 }
1006
1007 protected incrementCount(value: number) {
1008 if (typeof this.#count === 'number' && this.#initialized) {
1009 this.#count += value;
1010 }
1011 }
1012
1013 /** @ignore */
1014 [Symbol.for('nodejs.util.inspect.custom')](depth = 2): string {

Callers 4

addMethod · 0.95
removeMethod · 0.95
addWithoutPropagationMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected