Page Contents

Home > @loopback/repository > Entity > getIdProperties

Entity.getIdProperties() method

Get the names of identity properties (primary keys).

Signature:

static getIdProperties(): string[];

Returns:

string[]