Laravel/ MySQL basic audit using triggers
For an API using Laravel and MySQL we are trying to setup an audit mechanism using MySQL triggers.
We’ve extended IlluminateDatabaseDatabaseManager
with something like
How to get only one row from one to many relation when performing Join with count
I have two tables and I want to do left Join but to retrieve only one record from right table even if there is more than one record matching and count them.
Laravel Mysql Wildcard not pulling all results
I have this Laravel query which searches two fields in the table (name, introduction) for matching entries:
SQLSTATE[HY000] [1045] Access denied for user ‘s362056_3616338’@’sh16-62.1blu.de’
after migration from host to other host i get this problem with database :
Find duplicate phone from json column with whereIn in Laravel
How can I find duplicate phones from json column with whereIn in Laravel. Below is my code?
Sorting comments and replies in different direction in MySql
I have troubles trying to sort comments and replies (unlimited nesting levels) in my laravel project.
Optimizing Query Performance for Matching Records Between Two Tables with Large Data Sets (Laravel, MySQL)
I have a Laravel application where I’m retrieving data from two tables: LoginData and LocationStatus. The LoginData table contains records with a single IMEI, while the LocationStatus table contains multiple records for each IMEI, with a serverDatetime timestamp indicating when the record was created.
Laravel 4 million records handle Eloquent ORM
I have table LocationStatus
with 4 millions records as now, when i use this query LocationStatus::where('imei',$mhe->imei)->orderByDesc('serverDatetime')->first();
getting an issue when making a relationship between two tables in Laravel using Mysql
i want to make a one two many relationship between two tables medicines and suppliers, so i made a foreign id of the table suppliers in medicines table.
Hi , I want to upload my laravel project on 000webhost
When i upload my project then after it gives error but i cannot find error what is this and how i can resolve this does anyone have idea i can show my error below