Uploaded image for project: 'Ruby Driver'
  1. Ruby Driver
  2. RUBY-305

Add a capped method to the Collection object

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial - P5
    • Resolution: Fixed
    • Affects Version/s: 1.3.1
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
    • Backwards Compatibility:
      Fully Compatible

      Description

      Add a capped method to the Collection object that returns a boolean value indicating whether the collection is capped or not. This can be obtained using the stats method and by finding the "capped" key value in the hash.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: