Page Contents

Home > @loopback/sequelize > SequelizeCrudRepository > exists

SequelizeCrudRepository.exists() method

Signature:

exists(id: ID, _options?: AnyObject): Promise<boolean>;

Parameters

Parameter Type Description
id ID  
_options AnyObject (Optional)

Returns:

Promise<boolean>