Details
-
Bug
-
Resolution: Cannot Reproduce
-
Critical - P2
-
None
-
2.6.0
-
None
-
.net core 2.1
Description
var createIndexOptions = new CreateIndexOptions { Unique = false };
|
this.OrderDocumentCollection.Indexes.CreateOne(
|
Builders<OrdersDocument>.IndexKeys.Ascending(an => an.UserId).Ascending(an => an.CompanyId),
|
createIndexOptions);
|
Does not create compound index instead index only for UserId is created