1. 20 Mar, 2017 1 commit
  2. 18 Mar, 2017 1 commit
    • Ben Argo's avatar
      Fix array to string conversion · 2263bc4f
      Ben Argo authored
      With ‘BelongsToMany’ relationships calling the function `Jenssegers\Mongodb\Eloquent\Model::has` can throw an ErrorException with ‘Array to string conversion’.
      
      By flattening the collection here we can avoid triggering the exception.
      2263bc4f
  3. 12 Mar, 2017 2 commits
  4. 11 Mar, 2017 1 commit
  5. 01 Mar, 2017 1 commit
    • Marko Vodanović's avatar
      Fix for index names (#1137) · b464c2f0
      Marko Vodanović authored
      - fixed possiblilty to specify index names when creating them
      - also fixed docstring comments so code completion works
        properly when using IDEs
      b464c2f0
  6. 26 Feb, 2017 2 commits
  7. 24 Feb, 2017 1 commit
  8. 23 Feb, 2017 1 commit
  9. 20 Feb, 2017 2 commits
  10. 18 Feb, 2017 4 commits
  11. 16 Feb, 2017 2 commits
  12. 15 Feb, 2017 6 commits
  13. 14 Feb, 2017 1 commit
  14. 27 Jan, 2017 1 commit
  15. 25 Jan, 2017 1 commit
  16. 10 Jan, 2017 1 commit
  17. 03 Jan, 2017 1 commit
  18. 10 Dec, 2016 1 commit
  19. 04 Nov, 2016 1 commit
  20. 31 Oct, 2016 8 commits
  21. 07 Oct, 2016 1 commit
    • Fiete Börner's avatar
      Aggregate subdocument arrays (#918) · 81ae5a63
      Fiete Börner authored
      * add sub document aggregation array functionality
      
      example:
          Model::sum('subarray.*.price');
      
      this method is much simpler as to use as complex raw aggregations
      
      for this function a $unwind directive will be pushed in pipeline before $group
      
      * change testSubdocumentArrayAggregate
      
      change test for different scenarios
      
      * rebase to latest master and fix style ci issues
      81ae5a63