The Eloquent ORM included with Laravel provides a beautiful, simple ActiveRecord implementation for working with your database.
I would like to execute the follow sentence using laravel eloquent SELECT *, count(*) FROM reserves group by day The only …
laravel laravel-5 eloquent query-builderIm trying to pull all users from the users table who match a certain group in the users_groups pivot …
php mysql laravel-4 eloquent query-builderLet's say I have the following model: class Movie extends Eloquent { public function director() { return $this->belongsTo('Director'); } } Now …
laravel where eloquent belongs-toI've been looking over relationships in Laravel 4 in the documentation and I'm trying to work out the following. I have …
laravel belongs-to relationships laravel-4 eloquentThe following soft delete code works fine for me: $post = Post::find($post_id); $post->delete(); The deleted_at …
laravel eloquent soft-deleteI have something like $user->albums()->where('col', NULL), it works fine then I tried to extend …
php orm relationship eloquent