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