Creating a mongodb capped collection using c# api
问题 Using the C# MongoDB driver, we currently create our collection like so: MongoServer mongoServer = MongoServer.Create("some conn str"); MongoDatabase db = mongoServer.GetDatabase("mydb"); MongoCollection logs = db.GetCollection("mycoll"); I would like to use mycoll as a capped collection. I haven't seen any examples or documentation specifics on how to create a capped collection using the C# driver. I've found tons of JS examples, and even a Java example (here: Creating a mongodb capped