Support the ongoing development of Laravel.io →

dsamojlenko

Joined 23 Apr 2014

Statistics

Threads 2
Replies 4
Solutions 0
Articles 0

Where clause comparing updated_at to pivot created_at strange results...

I have a User and a Trip model with belongsToMany relationships and a pivot table between. I'm tryi...

0 Likes
0 Replies
posted 10 years ago

Json response character encoding

I can't seem to find an answer to this. When I return french characters in a json response they are...

0 Likes
3 Replies
Solved
replied 10 years ago

Json response character encoding

ah... I've been testing with a plain rest client that doesn't do any parsing... thought it was going...

0 Likes
replied 10 years ago

Json response character encoding

Ok, after some fishing around figured this out. Response::json accepts 4 parameters: public static...

0 Likes
replied 10 years ago

Convert this GeoLocation Query to Query Builder for $$$

Mine searches a radius in kms - just note that you'll want to change 6371 to 3959 if you're using mi...

0 Likes
replied 10 years ago

Convert this GeoLocation Query to Query Builder for $$$

that's how we did it too: $buildings = Building::select( DB::raw("*,...

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.

© 2024 Laravel.io - All rights reserved.