Support the ongoing development of Laravel.io →

4,609 Threads

Creating relationships with enumerated tables

My current project has a form creation feature. For each form created, there is also a table created...

0 Likes
0 Replies

How to handel concurent updates that happen to a model while you have it open.

I have a problem where I have to get an Eloquent model read the data then call a complex stored proc...

0 Likes
1 Replies
Solved

update database when user click on a link

Hi, I'm a complete newbie in laravel, and I don't know how to perform some simple tasks. I have a ta...

0 Likes
14 Replies

raw sql query (fixed)

Hi guys and girsl, I have the following query which i would like to run: INSERT into ticketsorders (...

0 Likes
0 Replies

Foreign Characters

Hi All, I'm having an issue with foreign characters and I wondered if anyone had come across this be...

0 Likes
2 Replies
Solved

Repositories and Relationship

Hey guys. I want to start working with repositories because right now I handle all the data from the...

0 Likes
7 Replies

MySQL Deadlocks on Session Insert

Hi, We are facing some intermittent deadlocking on the attempted insert (or update) of new Session p...

0 Likes
2 Replies

Hierarchial data in a single table

I'm building an app with lots of this kind of data, e.g. jobs. Most have a parent so I've started cr...

0 Likes
3 Replies
posted 11 years ago

Database query where a join is null

Simple version of database. mortgages | id | case_id(cases@id) | | 1 | 1 | | 2 | 2...

0 Likes
1 Replies

Different price for each user for each product : Pivot table relation query !

My teacher today gave us a problem today, it goes like this : ##Scenario You are developing an eComm...

0 Likes
10 Replies

How to prevent duplicates on belongsTo/hasMany associative relationships.

on album model: public function band() { return $this->belongsTo('Band'); } on...

0 Likes
3 Replies

how to nested paginate

Hi all, My question is about pagination. I have some posts and some comments for each post. I unders...

0 Likes
0 Replies

Group a dataset by weeks

I have a query that currently returns a dataset grouped by day. I want to take this dataset (hopeful...

0 Likes
2 Replies

Multiple connections problem

Hi! I have small problem. I have multiple databases with multiple connection. Connection/db. I don't...

0 Likes
8 Replies

Implement mySql query into the route.

Hi I am new in laravel. Can you please help me to represent this sql query in route? This is the que...

0 Likes
6 Replies
posted 11 years ago

Problems with SELECT and subqueries

Hi, somehow I cannot get this working with the Query-Builder SELECT entity_id, entity_name FROM (SEL...

0 Likes
0 Replies

BetaUp the pre-launch package

#####About BetaUp It's a basic package which let's you set-up pre-launch website fast and easy. Afte...

0 Likes
4 Replies

Get records from 2 tables with foreign key

Hello I try to get records from the main table and then use the foreign key to get the records from...

0 Likes
1 Replies

Pivot tables

I wasn't able to find the help that I was looking for elsewhere on this forum. I'm trying to create...

0 Likes
6 Replies

Slow late row lookups when using Paginate — MySql

Background I'm struggling with a performance issue on a large dataset, using pagination — when I'm s...

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

© 2025 Laravel.io - All rights reserved.