createIndex method
void
createIndex({})
Registers Mongo-style create index command.
Implementation
void createIndex({
required String collection,
required Map<String, Object?> keys,
Map<String, Object?>? options,
}) {
_mutations.add(
SchemaMutation.createIndex(
collection: collection,
keys: keys,
options: options,
),
);
}