getGenerationId

abstract suspend fun getGenerationId(tableName: TableName): Long

Return the generation ID of an arbitrary record from the table. May assume the table exists and is nonempty.

If an existing record has null generation, treat that record as belonging to generation 0. These records predate the refreshes project.