Level 75
After firstOrNew you will need to call save() manually to persist it. More information you can find here.
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hello, I would like to know the difference between updateOrCreate and firstOrNew
Please or to participate in this conversation.