When using firstOrCreate in laravel, a model is returned, so how do you know whether it is newly created data or the original data?
When using firstOrCreate in laravel, a model is returned, so how do you know whether it is newly created data or the original data?