Closed paolobriones closed 1 year ago
In the "Entities" section called "Create a collection explicitly" showed how to create a Capped collection:
await DB.CreateCollectionAsync<Book>(o => { o.Collation = new Collation("es"); o.Capped = true; o.MaxDocuments = 10000; });
o.MaxSize MUST also be set to create capped collections properly
In the "Entities" section called "Create a collection explicitly" showed how to create a Capped collection:
o.MaxSize MUST also be set to create capped collections properly