The Eloquent ORM included with Laravel provides a beautiful, simple ActiveRecord implementation for working with your database.
I'm using the Laravel Eloquent query builder and I have a query where I want a WHERE clause on multiple …
php laravel eloquent laravel-query-builderI am new to Laravel. Please excuse the newbie question but how do I find if a record exists? $user = …
php laravel laravel-5 eloquent conditionalHow do I say WHERE (a = 1 OR b =1 ) AND (c = 1 OR d = 1) For more complicated queries am I supposed to …
php laravel eloquent laravel-query-builderI would like to retrieve the last file inserted into my table. I know that the method first() exists and …
laravel eloquentWhat's the shorthand for inserting a new record or updating if it exists? <?php $shopOwner = ShopMeta::where('shopId', '=…
php laravel eloquent laravel-query-builderThis may be a trivial question but I am wondering if Laravel recommends a certain way to check whether an …
laravel laravel-4 eloquent laravel-collectionI have a table that contains, amongst other columns, a column of browser versions. And I simply want to know …
laravel laravel-4 eloquent