Skip to content

updateOrCreate does not create DB entries #2903

Closed
@CaNCaNCode

Description

@CaNCaNCode
  • 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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions