Support the ongoing development of Laravel.io →

4,606 Threads

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 10 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 10 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

Time series database (& charts) with laravel

Currently I'm using rrdtool to create time-series based databases & charts with php and i'm late...

0 Likes
2 Replies
posted 10 years ago

No query results for model [User]

Hey, i got this error No query results for model [User] after running this User::where('Name', $entr...

0 Likes
4 Replies
Solved

Datatables Performance with addColumns

I have successfully implemented the Chumper datatables package however I am seeing that using collec...

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