CreateIndexOptions constructor

CreateIndexOptions(
  1. DbCollection collection, {
  2. WriteConcern? writeConcern,
  3. bool uniqueIndex = false,
  4. bool sparseIndex = false,
  5. bool background = false,
  6. bool dropDuplicatedEntries = false,
  7. double? geoLowerBound,
  8. double? geoHighBound,
  9. String? indexName,
  10. Map? partialFilterExpression,
  11. Map? collation,
})

Implementation

CreateIndexOptions(
  this.collection, {
  this.writeConcern,
  this.uniqueIndex = false,
  this.sparseIndex = false,
  this.background = false,
  this.dropDuplicatedEntries = false,
  this.geoLowerBound,
  this.geoHighBound,
  this.indexName,
  this.partialFilterExpression,
  this.collation,
  /* this.session*/
});