Ability to create capped collections in the java driver

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Done
    • Priority: Minor - P4
    • 0.11
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently you can only get a collection by calling:

      public DBCollection getCollection(String n)

      Will need:

      public DBCollection getCollection(String n, DBObject o)

      (in order to create a capped collection)

      db.createCollection("mycoll",

      {capped:true, size:100000}

      )

            Assignee:
            Kristina Chodorow (Inactive)
            Reporter:
            Ryan Nitz
            None
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: