Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-37

Ability to create capped collections in the java driver

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Done
    • Icon: Minor - P4 Minor - P4
    • 0.11
    • None
    • None
    • None

    Description

      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}

      )

      Attachments

        Activity

          People

            kristina Kristina Chodorow (Inactive)
            rn@deftlabs.com Ryan Nitz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: