Page Contents

Home > @loopback/repository > CrudRepositoryImpl > findById

CrudRepositoryImpl.findById() method

Signature:

findById(id: ID, filter?: Filter<T>, options?: Options): Promise<T>;

Parameters

Parameter Type Description
id ID  
filter Filter<T>  
options Options  

Returns:

Promise<T>