count
To count documents in a collection or a query, use the count
method. It’s available on Collection
and query
.
The method returns Promise<number>
.
To count documents in a collection or a query, use the count
method. It’s available on Collection
and query
.
The method returns Promise<number>
.