stack

Home > @infiniteobjects/models > Repository > count

Repository.count() method

Returns the number of documents in the collection

Signature:

count(): Promise<number>;

Returns:

Promise<number>