Support the ongoing development of Laravel.io →

4,603 Threads

Eloquent Query Joins

is there any possible way to join tables with eloquent queries? i have 3 tables Users, Blogs & B...

0 Likes
5 Replies

Query with binding fails but works when using direct input injection

Hello there, i've got an issue with a full text query, that is not running properly when using bindi...

0 Likes
1 Replies

ManyToMany where

Hello, I have 3 tables: products (->belongsToMany('Series')) series (->belongsToMany('Product...

0 Likes
8 Replies

Transition to Laravel

Hello Laravel community, I currently run on the usercake php platform, which is just comprised of a...

0 Likes
2 Replies
Solved

laravel on opensuse connecting to microsoft SQL server

Hi.. I am getting very confused at present at what is need to connect a linux laravel to a microsoft...

0 Likes
4 Replies
Solved

Retrieving and displaying MongoDB document content in Laravel 4 with Jenssegers Laravel library

How do I write a model that returns all the content of a document in a MongoDB database? I am trying...

0 Likes
3 Replies
Solved

Query relations - Forgets to put the table name in query

Hi! I have a structure like this : User Organizations_users Organization I want to check for the cur...

0 Likes
3 Replies

A question to ask about users table and user authentication

Hey people, I've some question to ask and i need some help and guidance and your expertise advises....

0 Likes
0 Replies

Updating data to database

Hi all, I've been working away on my app and to date I have been successful. I have stumbled across...

0 Likes
1 Replies

How to pull data from 2 tables that associate to 1 table?

I have users table that is associate to 2 other tables: posts, videos. And i want to pull all the da...

0 Likes
1 Replies

Custom Pivot for MorphMany relationship

Hi everybody I'm trying to create a custom pivot for a MorphMany relationship. I've done it the usua...

0 Likes
3 Replies

Translate of SQL request

I have a complicate request that I hope translate with Eloquent ORM or with Query Builder, but I can...

0 Likes
2 Replies
Solved

Error in default migration zizaco/entrust

Hello everyone. I'm trying to install zizaco/entrust but are facing a problem in migrations, I think...

0 Likes
0 Replies

fluent query builder, mysql group issue

I have 3 tables: users, blogs, blogcomments. on the main blog page, i want to get the blog's title,...

0 Likes
0 Replies

Best way to create User Post relationship?

I have User and Post model. And my question is where to put method's like getAllMyCommentedPosts() o...

0 Likes
1 Replies

Model: columns' names in uppercase on MySQL, a request for better solution

Hi, It's my first post and, in fact, isn't properly a question, but a request for suggestions becaus...

0 Likes
0 Replies

user images and profile image

How do you handle user images and profile pic? I have a table oft user images each row is an image a...

0 Likes
1 Replies

Symfony \ Component \ Debug \ Exception \ FatalErrorException Call to undefined method Illuminate\Database\Eloquent\Collection::save()

I am trying to call Eloquent's save() method on an existing record but getting an error from Illumin...

0 Likes
2 Replies
Solved

Upgrade to 4.2 - DB Queries return nothing

$locations = Locations::find(1); // null $locations = Locations::all(); // [] $locations = Locations...

0 Likes
3 Replies

Getting Application in Production on Running migration!

When I am running a migration from command line I am getting the response Application In Producti...

0 Likes
4 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.