Support the ongoing development of Laravel.io →

4,232 Threads

Advanced leftJoin with date functions

Hi, I have https://gist.github.com/RokSiEu/8793452 But I need to get https://gist.github.com/RokSiEu...

0 Likes 1 Replies

Doctor Channeling System

Hi, So we have a new project that will be used by multiple hospitals to have web-based doctor channe...

0 Likes 0 Replies

Derived table from Pivot table

Hi folks, i have an issue about a derived table from a pivot table. Here is my schema: locale id nam...

0 Likes 4 Replies
3 Feb, 2014 at 03:02

Polymorphic Relationship with Self referencing

I've created a user relationship similar to that of twitter. This is a self referencing many-to-many...

0 Likes 0 Replies
3 Feb, 2014 at 01:42

Forget cache on touch

Hey, I want to cache my queries like getting all projects assigned to a user. I use ->remember(36...

0 Likes 3 Replies

Chaining first()

I just started using laravel, and I am trying some code. $candidate1 = ot_Candidate::where('id', '='...

0 Likes 1 Replies
1 Feb, 2014 at 11:59

Error handling design advice

Right now, when I do something to the database that could fail... such as add a new record where the...

0 Likes 3 Replies

Failed PDOException

Can someone tell me how this code fails even though I am catching the PDOException? https://gist.git...

0 Likes 1 Replies

Help with proper query

I am looking for help in grabbing data the proper Laravel way. An existing site is being converted t...

0 Likes 1 Replies

Relationship questions

Hey guys, having troubles with second level relationship I got it figuring out how one to many works...

0 Likes 2 Replies

Sorting by a column of a child table in eager load and paginate

I need to display informations in a table that can be sort by columns. I'm using a eager load query...

0 Likes 0 Replies
8 Dec, 2013 at 02:53

Transform raw query with query builder or eloquent...

Hey, i got a rather complex query, and i would like to transform it with eloquent/query builder. I w...

0 Likes 1 Replies

Thanks to our community

Solutions given in the past year.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2021 Laravel.io - All rights reserved.