Converting Sql query to Laravel 8 Query Showing error Programing Coderfunda May 18, 2022 Laravel, php No comments AnswerSorted by: Highest score (default) Date modified (newest first) Date created (oldest first) 0DB::table('cities')->select('name as lang_name', DB::raw('(CASE WHEN iso2 = "DE" THEN "Germany" WHEN iso2 = "CH" THEN "Switzerland" ELSE "India" END) AS codeCity)')->get(); Share This: Facebook Twitter Google+ Stumble Digg Email ThisBlogThis!Share to XShare to Facebook
0 comments:
Post a Comment
Thanks