Support the ongoing development of Laravel.io →

4,311 Threads

Too many pivot tables?

I have a file uploader that is used by numerous admin sections. People, locations, history etc. Some...

0 Likes
5 Replies
Solved

Permission based Visibility, Appending, Eager Loading and Filling

Dear Laravel enthusiasts, I'm working on writing a REST API in Laravel and I've run aground on this....

0 Likes
1 Replies

Query Not Saving All Input

I am saving an Eloquent model to a MySQL database, however all the request input is not saved, despi...

0 Likes
10 Replies
Solved

Weird Query Results When Using Repository Pattern

demo Table: name | passport_date | visa_date when i using in Eloquent: $latestPassport = Demo::order...

0 Likes
1 Replies

Register user and send data to two tables at the same time: Users and Users_details

I need to register a new user and store data in two tables separately, the Users table will hold cla...

0 Likes
0 Replies
posted 9 years ago

chunk help

I have been trying to figure out how to use the chunk command to break up my results some as it is h...

0 Likes
1 Replies

Technique to store user profile

For my job portal i need to store user profile details along with their skill set and educational de...

0 Likes
1 Replies

Model Attributes and appends property

HI Im trying to have a model that has a latitude and longitude set on the model now when I query the...

0 Likes
0 Replies

Laravel-Javascrip call function on submit form

I do not know hot to call javascript function on home page when is submited form laravel on create p...

0 Likes
0 Replies
posted 10 years ago

Limit Related

Hi guys, Lets say I have a list of threads. How can I get the list of all threads and for each threa...

0 Likes
1 Replies

Routes HELP

I can only see the result of odbrojavanje method when is that route above the route with brojUserPor...

0 Likes
1 Replies

Eager loading nested polymorphic relationship in different namespace

If you just want to jump straight to the question, it's at the very bottom. For your convenience how...

0 Likes
1 Replies

Query Character Length Limit?

I'm trying to save a blob to a MySQL database. I can do it successfully for a file that is 4000 byt...

0 Likes
5 Replies
Solved

How to update hasMany relationship in Laravel 5.1

Hello, I am totally new on Laravel, and I have implement the User table provided by Laravel Auth, an...

0 Likes
0 Replies

Time formatting

Hi, What is the proper way to format time (not timestamp)? The time field in the database is HH:MM:S...

0 Likes
4 Replies

Who is calling beginDatabaseTransaction() method on DatabaseTransactions trait (Laravel 5.1)

Hi, I'm using DatabaseTransactions trait to have transactions on tests. I have custom connections on...

0 Likes
1 Replies
Solved

Laravel 4.2 Validation affected by Pagination

Hey all, I have a form being validated that works fine when i'm using $results = $query->get(); b...

0 Likes
1 Replies
Solved

GROUP_CONCATE() in Laravel 5

How can I use this "SET GLOBAL group_concat_max_len = 1000000;" statement in Laravel 5 ??...

0 Likes
1 Replies

Join is breaking my relationships

I need to use a join so that I can sort by a column in the joined table. But that join is interferin...

0 Likes
3 Replies
posted 9 years ago

One to many? Pivot?? Help!

I'm getting totally confused trying to recreate what is a simple task with raw SQL. Basically I have...

0 Likes
0 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.