Support the ongoing development of Laravel.io →

4,597 Threads

Pivot table attach() without auto sort

Hi, $item->categories()->attach([4,1,2,3]); This insert record order by 1 2 3 4 I want it ins...

0 Likes
1 Replies

SQLSTATE[HY000] [1045] access denied for the user: 'homestead'@'@localhost' (password: YES)

Well I'm new to laravel, & still learning it. Basically when i use php artisan migrate, it migra...

0 Likes
7 Replies
Solved

Insert data in relational table using laravel 5.4

I have 3 tables called country,city,university the country and city value displayed as dependent wit...

0 Likes
0 Replies

Connect 3 tables with 2 pivot tables

I'm trying to find all rows in c table (see DB schema) associated with one row in a table. Connected...

0 Likes
5 Replies
Solved
posted 6 years ago

Laravel 5.6 Regarding Database Transaction Concept

DB::beginTransaction(); //SQL Statement DB::commit(); Anything inside the SQL Statement does not lo...

0 Likes
0 Replies

Need your opinion on Laravel with Percona Server

Hey all, I need to build an invoicing app which will have around 50.000 new entries per day. I don't...

0 Likes
0 Replies

[solved] migration problems my first Deploy

Hello everyone, I programmed a Laravel API. Now I would like to deploy these on my VM. Now I get the...

0 Likes
0 Replies

Database with no tables on laravel site

I've an issue with a laravel site which was working perfectly but all of a sudden isn't. Seems to be...

0 Likes
0 Replies

Too many connections

I have 170+ tests and after 152 i have error [1040] Too many connections In my tests i use DatabaseT...

0 Likes
2 Replies

laravel Many To Many relationship with inner relation

I have some problem to get information about item. I read a lot of information on forums stakoverflo...

0 Likes
0 Replies

Eloquent, make rank upgradable!

https://laracasts.com/discuss/channels/eloquent/eloquent-make-items-upgradable Here is more details...

0 Likes
0 Replies

Problem with displaying category and sub-categories!

Hello guys i have problem with displaying categories and subcategories , here is some code BLADE: &...

0 Likes
1 Replies

How do I manually create a Paginator in 5

Hi I've looking round for a while now but cant figure this out how do How do I manually create a Pag...

0 Likes
7 Replies

SetConnection doesn't work in a non-static eloquent context

Hello, I'm trying to do this (Laravel 4.2) : In database.php 'default' => '', In a function $mod...

0 Likes
4 Replies
Solved

How to solve the growing bloated ORM?

At first, my model code may be clear, but later, more and more model associations, more and more eve...

0 Likes
0 Replies

Has Many Through Relationship Depth

Hey Guys, I am just trying to understand the depth of the has many through relationship as well as i...

0 Likes
4 Replies
Solved

Laravel 5.6 Separate Image Upload

How do I upload two separate image files to different file locations and save to database? Everythin...

0 Likes
0 Replies

ManyToMany Relationship With Third Table

Hi, Using Laravel 5.5 I am trying to design an incident management system which has bespoke requirem...

0 Likes
1 Replies

How can get multiple images from Database

Hi I have stored my images in database like array image1,image2,image3 using laravel-5.6. Now first...

0 Likes
0 Replies

Retrieving 5 million records from database and comparing

Hello Everyone, I have a requirement of retrieving 5 million records from MySQL database and compari...

0 Likes
4 Replies
Solved

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.