php - How can I query raw via Eloquent? -


i trying query in laravel app , want use normal structure query. class either use eloquent need find query totally raw.

might model::query($query);. doesn't work.

use db::statement('your raw query here'). hope helps.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -