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

Fix Query\Builder::count() in transaction

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

      The session option is not passed to Query\Builder::count(), leading to incorrect results when using count inside a transaction.

      https://github.com/jenssegers/laravel-mongodb/blob/v3.9.5/src/Query/Builder.php#L287

            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: