Uploaded image for project: 'Go Driver'
  1. Go Driver
  2. GODRIVER-736

Add comparison methods to primitive.Timestamp

    XMLWordPrintableJSON

Details

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Minor - P4 Minor - P4
    • 1.1.0
    • 0.1.0
    • BSON

    Description

      Tools and mongomirror do lots of timestamp comparison.  It would be helpful if the primitive.Timestamp type also provided comparison methods like Greater and GreaterOrEqual, or just a Cmp method (returning -1, 0, 1).

      Attachments

        Activity

          People

            connie.yu@mongodb.com Run Tian Yu (Inactive)
            david.golden@mongodb.com David Golden
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: