Page Contents

Home > @loopback/repository > Entity > buildWhereForId

Entity.buildWhereForId() method

Build the where object for the given id

Signature:

static buildWhereForId(id: any): any;

Parameters

Parameter Type Description
id any The id value

Returns:

any