Support the ongoing development of Laravel.io →
bweston92

bweston92

Joined 3 Feb 2014

Statistics

Threads 11
Replies 32
Solutions 2
Articles 0

Polymorphic relationships with FQN

I'm using polymorphic relationships. I've just realized they wasn't working due to fully qualified n...

0 Likes
0 Replies

Command bus

I really like the look of https://github.com/LaravelIO/laravel.io/tree/nextVersion/src/CommandBus I...

0 Likes
0 Replies

Group by pagination without performance issues when there is over 15K results.

Laravel Eloquent query builder suffers grouping by a column and counting the results for the paginat...

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
posted 11 years ago

Services and database foreign keys

Does anyone know if you need to still maintain foreign key constraints in services? Say I have a use...

0 Likes
0 Replies
replied 11 years ago

Session expires in a middle of an ajax request

You could also just ping the server every minute to keep the session active. Really poor example but...

0 Likes
replied 11 years ago

DB Count on group by.

I have managed to get this. select count(*) as `count` from (select COUNT(*) from `mortgages` inner...

0 Likes
Solved
replied 11 years ago

DB Count on group by.

@jgarifuna sorry that doesn't work, that still returns the first result which unfortunately is wrong...

0 Likes
replied 11 years ago

SQL Storing Searchable Meta Data

Well meta is going to be user defined so I am guessing they could have anything from: user: { name:...

0 Likes
replied 11 years ago

SQL Storing Searchable Meta Data

So I would analyze it for? I was considering making a meta table with 2 columns, keys (string [dot n...

0 Likes

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.

© 2026 Laravel.io - All rights reserved.