Support the ongoing development of Laravel.io →
davidlanier

davidlanier

Joined 11 Apr 2014

Statistics

Threads 7
Replies 9
Solutions 0
Articles 0

Dynamically set timezone at runtime.

I am using the same codebase to spin up different sites which may exist in different timezones. The...

0 Likes
1 Replies

orWhere('column', 'operator', 'value') does not handle NULL

I am using several scope functions in an eloquent model to retrieve data, and in one of the function...

0 Likes
1 Replies
posted 11 years ago

Selects with joins and wheres

I'm trying to select specific columns from two tables however when I add the ->select() method in...

0 Likes
3 Replies

How to combine a join with a where clause?

So I'm doing something like this: $ImageCategory = ImageCategory::where('styles.id', '=', $categ...

0 Likes
1 Replies

Symfony \ Component \ Debug \ Exception \ FatalErrorException Call to undefined method Illuminate\Database\Eloquent\Collection::save()

I am trying to call Eloquent's save() method on an existing record but getting an error from Illumin...

0 Likes
2 Replies
Solved
replied 11 years ago

Selects with joins and wheres

Okay so I tried ->select( 'notifications.id', 'notifications.subject', 'notifications...

0 Likes
replied 11 years ago

Selects with joins and wheres

My code is beautifully indented in the actual file, it just got all out of whack when I pasted it in...

0 Likes
replied 11 years ago

How to combine a join with a where clause?

Oh duh! Stupid typo. Should be: $ImageCategory = ImageCategory::where('styles.id',...

0 Likes
replied 11 years ago

Symfony \ Component \ Debug \ Exception \ FatalErrorException Call to undefined method Illuminate\Database\Eloquent\Collection::save()

That worked, thanks. It would be nice to know which methods can and can't be used. The docs aren't v...

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.