count method

IDBRequest count([
  1. JSAny? query
])

The count() method of the IDBIndex interface returns an IDBRequest object, and in a separate thread, returns the number of records within a key range.

Implementation

external IDBRequest count([JSAny? query]);