IndexInfo constructor

const IndexInfo({
  1. required String name,
  2. required String tableName,
  3. required List<String> columns,
  4. bool isUnique = false,
  5. String? where,
})

Index information for DDL generation.

This is a simple data class that holds the information needed to generate DDL statements for index operations.

Implementation

const IndexInfo({
  required this.name,
  required this.tableName,
  required this.columns,
  this.isUnique = false,
  this.where,
});