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

Add comparison methods to primitive.Timestamp

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 1.1.0
    • Affects Version/s: 0.1.0
    • Component/s: BSON
    • Labels:

      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).

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

              Created:
              Updated:
              Resolved: