hasIndex abstract method
Determines if the given table has a specific index. Optionally check by index type ('primary', 'unique', or specific driver type).
Implementation
Future<bool> hasIndex(
String table,
String index, {
String? schema,
String? type,
});