function get_items() { $query = DB::select('name')->from('items'); // i would like to do something DB::instance('get_items')->select('name')..... //so i can add to it later from another controller with DB::instance('get_items')->select('id') return $query->execute()->as_array(); }
It looks like you're new here. If you want to get involved, click one of these buttons!