autoIndexId property
Used to retrieve the serverStatus Optional. Specify false to disable the automatic creation of an index on the _id field.
Important Starting in MongoDB 4.0, you cannot set the option autoIndexId to false when creating collections in databases other than the local database.
Deprecated since version 3.2.
Implementation
//Db db;
/// Optional. Specify false to disable the automatic creation of an index on
/// the _id field.
///
/// **Important**
/// Starting in MongoDB 4.0, you cannot set the option autoIndexId to false
/// when creating collections in databases other than the local database.
///
/// Deprecated since version 3.2.
final bool? autoIndexId;