This article, guide you through the usage of Laravel's Eloquent `whereTime()` method. It is used to match a field value against a specific time.
This article, guide you through the usage of Laravel's Eloquent `whereDate()` method. It is used to match a field value against a specific date.
In this article, we will see Laravel's `firstOrCreate()` model method and how it provides you first instance from table if exists or create new table records if does not exists. You don't need to explicitly save like `firstOrNew()`.
In this article, we will see Laravel's `firstOrNew()` model method and how it is useful. It provides you first instance from table if exists or create new model instance. You need to explicitly save model instance.