PHP) 에러처리
2021. 11. 16. 14:34
Backend 언어 및 프레임워크/PHP
use Exception; throw new Exception("잘못된 입력값 입니다."); https://rollbar.com/guides/php/how-to-throw-exceptions-in-php/
라라벨 orm 쿼리
2021. 11. 15. 20:09
Backend 언어 및 프레임워크/PHP
$return = DB::table('go_partner') ->where('it_maker','like BINARY','PA%') ->orderBy('it_maker', 'desc') ->first(); 해석 go_table에서 컬럼이 it_maker 인 것 중에 대문자로 PA 시작하는 것을 내림차순에서 가장 첫번째 데이터 추출