$result = DB::select('id','name')->from('users')->as_object()->execute(); $result = DB::query('put your very complicated SQL as-is in here')->as_object()->execute();It looks like you're new here. If you want to get involved, click one of these buttons!