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

laravel-mongodb - Issue #2903: updateOrCreate does not create DB entries

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Unknown Unknown
    • None
    • Affects Version/s: None
    • Component/s: Laravel

      CaNCaNCode has created Issue #2903: updateOrCreate does not create DB entries in laravel-mongodb. This Jira ticket was filed by GromNaN

      Issue Text:

      • Laravel-mongodb Version: 4.2
      • PHP Version: 8.2
      • Database Driver & Version: latest

      Hello,

      since Version 4.2 *updateOrCreate* of a Model does not work properly.
      It does not create Entries in the Database.

      On Version 4.1.2 was everything fine.

      Reproduction:
      Call updateOrCreate (with a dummy _id value, to call the create)

            Assignee:
            jerome.tamarelle@mongodb.com Jérôme Tamarelle
            Reporter:
            dbeng-pm-bot PM Bot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: