Want to access all of our courses? (36 h 00 min)
You also get:
Already a member? Login here
Upsert is cool. Thanks I have not tried it yet.
A useful feature of firstOrCreate and updateOrCreate which I use a lot is that you can pass two arrays to these methods. First array could just be a unique field to find an existing record and second array could be the remaining fields.
Upsert is cool. Thanks I have not tried it yet.
A useful feature of firstOrCreate and updateOrCreate which I use a lot is that you can pass two arrays to these methods. First array could just be a unique field to find an existing record and second array could be the remaining fields.