createIndex method

Future<void> createIndex(
  1. Index index
)

Executes a CREATE INDEX statement to create the index.

Implementation

Future<void> createIndex(Index index) async {
  await _run(CreateIndexStatement(index, ifNotExists: true));
}