countTable

abstract suspend fun countTable(tableName: TableName): Long?

Returns the number of records in a specific table within a given database.

Return

The number of records in the specified table.

Parameters

database

The name of the database.

table

The name of the table.