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

Support pagination on groupBy queries

    • Type: Icon: New Feature New Feature
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • laravel-4.1.0
    • Affects Version/s: None
    • Component/s: Laravel
    • None

      This method is not supported by MongoDB. Try "toMql()" instead.

       

      // code placeholder
      $rs = \DB::collection('departments')
          ->groupBy('title')
          ->paginate(); 

            Assignee:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Reporter:
            muhammad.memon@ionyx.com.au Muhammad Memon
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: