Hi guys at the moment I'm hardcoding in the 'unit' column on the 'ingredient_recipe' table. I want t...
I have the following relations: Discount: <?php class Discount extends Eloquent { pro...
I need to obtain the object that are check in "$user->services->contains($service)"....
Hello, being new to Laravel, I'm trying to perform a query in Laravel 4's query builder or Eloquent....
Hi, i have a select: $roles = agegroup::all(); The select delivers an object with data. Now i need t...
I use Laravel Eloquent to save data to table store, but it save more then one record at one time. Wh...
Do I have to write a raw sql query? Or is there a class in laravel that can do that?
Is it possible to create a model that doesn't extend Eloquent? I have need for some models that don'...
I have three tables: Video (id, title) Tag (id, title) Video_Tag (id, video_id, tag_id) <-- join...
I have a User class that extends a Base class which extends Ardent. I'm toying with the idea of usin...
Whenever i save any date or time into database i convert it into UTC format and save to database and...
I have the following query that returns results fine, but the order of the results isn't alphabetica...
I have users and workspaces on my project, and an is_invite field on the pivot table to tell when so...
Hello there.. I'm trying to connect on a remote database on mongolab server. I aways get that error:...
I see the sync function which is really handy for managing pivot table relationships. I'm wondering...
Hi everyone I have problem with mongodb in laravel i use mongodb 'jenssegers' IN MYSQL : i use sql \...
Hi, I'm sure this has been asked a thousand times, but I still can't find much out there. I understa...
So I have a tag system, and for each user, they can have many tags, and also posts can have tags, so...
I'm trying to set up my website to support ratings on posts from users. I'm not sure what the best...
When saving a model with relations we do something like this; $ship = new Ship; $ship->name = 'E...
Solutions given in the past year. Excluding solutions from thread authors.
Select a tag below to filter the results
The Laravel portal for problem solving, knowledge sharing and community building.
The community