Add support for the ExtractQuarter database function

XMLWordPrintableJSON

    • None
    • Python Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      MongoDB doesn't have an operator to extract the quarter from a datetime but it can be emulated with:

       {"$ceil": {"$divide": [{"$month": {"date": lhs_mql, "timezone": timezone}}, 3]}}

            Assignee:
            Tim Graham
            Reporter:
            Tim Graham
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: