Support the ongoing development of Laravel.io →

4,311 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
posted 10 years ago

problem with many to many

hey, i have a pivot table with user_id and snippet_id but when i get the data i need the resolved ca...

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

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

[Package] Eloquent-Taggable

Hey all, I'm just putting the finishing touches a new package that makes it easy to "tag"...

0 Likes
0 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
posted 10 years ago

Eloquent count distinct issue

i'm having an issue with how eloquent is formulation a query that i have no access to. When doing so...

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

Iterating over Large Data Sets and Scalability Concerns with Laravel 4

Hi all, I've done quite a bit of poking around and have yet to come across a solid solution/answer....

0 Likes
9 Replies

Query fails in Laravel but works in MySQL

I have some query scope methods defined in an Eloquent model and am calling them in the controller t...

0 Likes
0 Replies

Nested uri problem, only getting parent of above parent

I have a problem with my code, and i can't figure out how to fix it..:/ I'm trying to create a uri w...

0 Likes
0 Replies

Query scopes that match any and all M2M relations [SOLVED]

I'm trying to solve an issue with my tagging package (https://github.com/cviebrock/eloquent-taggable...

0 Likes
1 Replies

Every move i make at laravel ,laravel stuck!!

I just installed new laravel 4 fresh copy. new copy url : http://localhost/ln/public I setup config...

0 Likes
1 Replies

Simplifying Many to Many relationship with partial constraints

Hello folks, I am currently working on a problem that makes me want to smack my head on my table. I...

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.

© 2024 Laravel.io - All rights reserved.