Uploaded image for project: 'PHP ORMs'
  1. PHP ORMs
  2. PHPORM-47

Accept CarbonPeriod as whereBetween argument

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Unknown Unknown
    • laravel-4.0.0
    • Affects Version/s: None
    • Component/s: Laravel
    • None

      Laravel Eloquent query builder allows to compare a date field with a CarbonPeriod instance.

      https://github.com/laravel/framework/blob/v10.15.0/tests/Database/DatabaseQueryBuilderTest.php#L772

      Fix this feature and add tests.

            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: