pineco.de
Less Known Eloquent Model Actions - Pine
There are some common, well knowns actions that we can perform on our models. However, you may find some interesting things only when you dig a bit deeper. Let’s cover some less known model actions. #1 Check for a model’s existence If you need to know, if a model exists, you can use the exists() method. …