indexNamesForTable method

List<String> indexNamesForTable(
  1. String tableName
)

Returns the names of all indexes on a named table.

Implementation

List<String> indexNamesForTable(String tableName) {
  final key = _findTableKey(tableName);
  return key != null ? (_tables[key]?.indexNames ?? []) : [];
}