Skip to content Skip to sidebar Skip to footer
Showing posts with the label Laravel 5

How To Make Sqlite Work In Laravel

Whenever I run php artisan migrate, the following error is shown in the console: [PDOException] … Read more How To Make Sqlite Work In Laravel

Laravel Sql Server - Pdoexception Could Not Find Driver On Migrate

I have a laravel 5.2 instance configured to run against MS SQL Server. I have downloaded from micro… Read more Laravel Sql Server - Pdoexception Could Not Find Driver On Migrate

Laravel 5 Eloquent - Add Child Field To Parent Model

I have a user model which has a child relationship called teacher. How can I add a field from the r… Read more Laravel 5 Eloquent - Add Child Field To Parent Model

Laravel Sqlsrv Works In Tinker Mode But Not In Browser

I have a Laravel 5 project (on a CentOS 7 machine) that connects to an external MSSQL database. I f… Read more Laravel Sqlsrv Works In Tinker Mode But Not In Browser

Mysql - Search Into A Custom Column

I want to run a MySQL query like this- SELECT country_ID*2/id*3.159 as my_id FROM `state` WHERE … Read more Mysql - Search Into A Custom Column

Convert Sql To Eloquent To Join Multiple Table And Count

I have been this SQL working fine, but trying to convert it to Eloquent format, it keeps returning … Read more Convert Sql To Eloquent To Join Multiple Table And Count

Arithmetic Operations In Query Builder Laravel

i want to prerform this query in query builder of laravel 5.4 select title, price, price*tauxDisco… Read more Arithmetic Operations In Query Builder Laravel

Laravel Join With Only Limiting 2 Row

so i having this kind of query where i do grouping with max date/period like this $table_data = App… Read more Laravel Join With Only Limiting 2 Row