$update_user = $db->where('user_id', $user_id)->set('inv_count', 'inv_count+1', false)->update(T_USERS);
Bu sanırım işinizi görür.