Uploaded image for project: 'PHP Driver: Library'
  1. PHP Driver: Library
  2. PHPLIB-1370

Provide an enum for date units

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • builder-0.1
    • Affects Version/s: None
    • Component/s: Builder
    • None

      See https://www.mongodb.com/docs/manual/reference/operator/aggregation/dateDiff/

      The time measurement unit between the startDate and endDate. It is an expression that resolves to a string:
      • year
      • quarter
      • week
      • month
      • day
      • hour
      • minute
      • second
      • millisecond

      Usage: https://github.com/mongodb/mongo-php-builder/pull/34#discussion_r1457750549

            Assignee:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Reporter:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: