python (12.9k questions)
javascript (9.2k questions)
reactjs (4.7k questions)
java (4.2k questions)
java (4.2k questions)
c# (3.5k questions)
c# (3.5k questions)
html (3.3k questions)
How to filter by latest status in Laravel using laravel-model-status package?
CURRENT SYSTEM:
I am using Laravel and the Spatie package laravel-model-status.
NEED:
Here is a formal description of what I am looking for:
Get a list of users whose latest status in set S is the st...
Biagio Arobba
Votes: 0
Answers: 2
Search in array within Json column with Laravel
In my Laravel project, I have a products table with a json column calle data. In the json column I have the following structure:
{
"storage" : [
{
"stowage" : 1,
...
Superveci
Votes: 0
Answers: 1
Laravel 8 whereHas and whereBetween has no effect
Having this code:
$resultCards = Posts::with('subcategory')->whereHas('subcategory', function($q) use ($main_categories,$sub_categories) {
$q->whereIn('id', $sub_categories);
...
m33ts4k0z
Votes: 0
Answers: 1
How to build conditional eloquent query with data which comes from database
I want to create conditional query with data which comes from database. Now im using query and filtering method but i wonder is there any method to build query for this?
Example:
I have a table which ...

Arif Dogan
Votes: 0
Answers: 1