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

Add comparison methods to primitive.Timestamp

    XMLWordPrintable

    Details

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

      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

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved: