$query = DB::select(array('column' => 'alias'));
array('places.name' => 'place_name', 'places.*', 'users.*')
Scott Horsley wrote on Friday 2nd of March 2012:@bperin, Is this using Query-Builder? If it is then the documentation states that you can provide an array containing column => alias for the select() portion.
$query = DB::select(array('column' => 'alias'));
Not sure if you could provide
array('places.name' => 'place_name', 'places.*', 'users.*')
to override the exact column in question. (Completely untested, just an idea). Hope that helps.
It looks like you're new here. If you want to get involved, click one of these buttons!