Page Contents

Home > @loopback/sequelize > SequelizeCrudRepository > count

SequelizeCrudRepository.count() method

Signature:

count(where?: Where<T>, options?: AnyObject): Promise<Count>;

Parameters

Parameter Type Description
where Where<T> (Optional)
options AnyObject (Optional)

Returns:

Promise<Count>