Usage of Stored procedures/function in laravel

By | January 24, 2018

Stored procedure/function as like below

Above stored fuction will execute and it will be saved in the database.We can see this in the phpmyadmin

how to use the above function in the laravel eloquent model as like below,