Laravel Daily
Laravel practical example: `firstOrCreate()`.AI generated this code (version 1) for me.I told it there's a better way with `firstOrCreate()`It refactored, saying "you're absolutely right".Now we're both happy.
2 months ago | [YT] | 213
@ycm-yellowcheesemagazine
AI is like a USB. It will fit right only on the 2nd or 3rd try... We should add an automated "you got it wrong" on every prompt. :)
2 months ago | 2
@ahmed-osama2022
Thanks for sharing
2 months ago | 1
@nim_a123
👋
@exintrovert1337
Laravel is fantastic.
@tyrellwreleck4226
I prefer the first one
2 months ago | 0
View 1 reply
@errores-me6yu
and if I use where+orWhere how to use firstOrCreate with that?
Laravel Daily
Laravel practical example: `firstOrCreate()`.
AI generated this code (version 1) for me.
I told it there's a better way with `firstOrCreate()`
It refactored, saying "you're absolutely right".
Now we're both happy.
2 months ago | [YT] | 213