reportTableCount method

void reportTableCount(
  1. String table
)

Implementation

void reportTableCount(String table) async {
  DatabaseDriverTableQueryer queryer = await driver.table(table);
  List<Map<String, dynamic>> results = await queryer.count();

  await _methodChannel.invokeMethod('pluginDatabaseBrowserReportQueryResult', new Map()
    ..putIfAbsent("action", () => "getTableCount")
    ..putIfAbsent("table", () => table)
    ..putIfAbsent("results", () => results));
}