Provide an enum for date units

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Unknown
    • builder-0.1
    • Affects Version/s: None
    • Component/s: Builder
    • None
    • None
    • None
    • None
    • None
    • None
    • 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:
            Jérôme Tamarelle
            Reporter:
            Jérôme Tamarelle
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: