smart-sqlite3-filter
    Preparing search index...

    Function count

    • Count the entries matching the given query string, ignoring limit / from. Pairs with search when a UI needs the total number of matches alongside one page of them.

      Parameters

      • queryString: string

        the query string

      • db: DatabaseSync

        the database to search

      • options: SearchOptions = {}

        options to customize the search

      Returns number

      The number of matching entries