return query string with Input::all.