MCPcopy Index your code
hub / github.com/loopbackio/loopback-next / getIdProperties

Method getIdProperties

packages/repository/src/model.ts:444–446  ·  view source on GitHub ↗

* Get the names of identity properties (primary keys).

()

Source from the content-addressed store, hash-verified

442 * Get the names of identity properties (primary keys).
443 */
444 static getIdProperties(): string[] {
445 return this.definition.idProperties();
446 }
447
448 /**
449 * Get the identity value for a given entity instance or entity data object.

Callers 7

getIdOfMethod · 0.95
resolveHasManyMetaHelperFunction · 0.80
resolveHasOneMetadataFunction · 0.80
model.unit.tsFile · 0.80
createMethod · 0.80
getIdSchemaFunction · 0.80

Implementers 1

SequelizeModelextensions/sequelize/src/sequelize/seq

Calls 1

idPropertiesMethod · 0.80

Tested by

no test coverage detected