indexCreate method
Implementation
IndexCreate indexCreate(indexName, [indexFunction, Map? options]) {
if (indexFunction == null && options == null) {
return IndexCreate(this, indexName);
} else if (indexFunction != null && indexFunction is Map) {
return IndexCreate(this, indexName, indexFunction);
}
return IndexCreate.withIndexFunction(
this, indexName, _funcWrap(indexFunction, 1), options);
}