Hi Guys! Eloquent is not handled sql scheme types? Or I have a wrong setting? Thanks. PHP 5.5.14 - u...
Assuming I have the next database structure: And I want to do the complex eloquent query - gather a...
I would like to generate Sql like SELECT * FROM invoice WHERE invoice.id NOT IN (SELECT invoice_id F...
I've just started a new community project at http://eloquentbyexample.com/ My aim for this is to bui...
Hi guys, Im building a function to show a google map, based on records from my database. This is wor...
Hi, How do I set it up so that my Listings belong to both to the user who creates it, and a specific...
Hi everyone, Well, I bought a database of cities that came with 3 tables countries: country_code...
Hi Folks, I'm namespacing and refactoring an app and I am receiving a 'Call to undefined method' whe...
Greetings, I want to know if it's possible without using the raw query builder to do what the title...
I have just switched over to Laravel from CakePHP and wanted to get some advice on testing related m...
Hi, in the past i have build queries like this: if (...) {$q.="AND (city='New York' OR city='De...
I have two classes. A and B. The class A extends Laravel, the class B extends A. They rappresent two...
Hello! First of all thanks for the interest in my topic. I think that this question is easy. I have...
I am doing something simple like the following: // Controller $activities = Activity::all(); $activi...
Is there any way to get all relational data with hasmanyThrough of third model that has many records...
Hi there, company id name users id name roles id name company_user company_id user_id role_u...
Imagine: Category can have many Products, Products can have many Series - so basically, Category can...
I have the following tables products variants attributes options option_variant Look at this sqlfidd...
Hi there, I have the following three models and relationships set up. class Customer extends \Eloque...
hi can anybody help me to built shopping cart with admin panel or is there any reference link where...
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.