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

Remove MongoFailedJobProvider

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • laravel-5.0.0
    • Affects Version/s: None
    • Component/s: Laravel
    • None
    • PHP Drivers
    • Needed
    • Hide
      Show
      Remove references to the custom failed job driver : https://github.com/mongodb/laravel-mongodb/blob/7296a25eebf8de48f018605488fb2e7450500788/docs/queues.txt#L63-L96 Replaced by the default database driver: https://laravel.com/docs/11.x/queues#dealing-with-failed-jobs Document that deleting a specific number of document is not supported by mongodb, ->limit(1) is the only accepted value. Otherwise the delete operation delete all the documents.

      The class MongoFailedJobProvider was created to fix the incompatibility between MongoDB’s Query Builder and Laravel’s Query Builder:

      By changing the behavior of the Query Builder, this class is no longer necessary and we can use Laravel’s DatabaseFailedJobProvider with a MongoDB connection.

            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:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: