전체 글 164

[MySQL] <>와 !=의 차이는? 차이가 없음! 그럼 무엇을 쓰는 것이 더 좋을까? <> 사용권장

와 != 모두 '같지 않음'을 의미하는 연산자이다. 성능상에도 차이는 없다. 하지만 를 사용하는 것을 권장한다. 1. SQL 기본 문법에서는 NOT EQUAL에 대해 를 사용하고 있고, 2. ISO 표준에 따라서도 를 사용하고 있기 때문이다. https://www.sqlshack.com/sql-not-equal-operator/ SQL Not Equal Operator introduction and examples This article explores the SQL Not Equal comparison operator () along with its usage scenarios. www.sqlshack.com

카테고리 없음 2024.02.22

[JavaScript] 심볼키는 Object.keys() 매서드로 액세스 할 수 없음 그렇다면? Object.getOwnPropertySymbols()

params.rangeDate가 Symbol을 사용하여 구현된 비교 연산자(gte: greater than or equal to, lte: less than or equal to)를 가진 객체입니다. 이러한 심볼 키는 Object.keys() 메서드로 엑세스할 수 없습니다. Object.keys()는 해당 객체의 enumerable한 속성들의 배열을 반환하는데, 심볼은 enumerable하지 않기 때문에 이러한 키들은 반환되지 않습니다. 대신에, Symbol.iterator를 사용하여 이러한 특별한 키들을 직접 접근할 수 있습니다. const rangeDateKeys = Object.getOwnPropertySymbols(params.rangeDate); if (rangeDateKeys.length !=..

카테고리 없음 2024.02.15

[Mac] 포트 7000 "address already in use :::7000" 에러 발생 시? 맥북 시스템설정에서 Airplay Receiver를 Off하자

https://github.com/cookiecutter/cookiecutter-django/issues/3499 Port 7000 already in use (afs3-fileserver) Mac only · Issue #3499 · cookiecutter/cookiecutter-django For those who upgraded to MacOS 12.1, your AirPlay receiver may have started on Port 7000 and your docker may fail due to this port already being used. You can disable this port in System Preferenc... github.com

카테고리 없음 2024.01.09

[Node.JS] npm audit report으로 주기적으로 사용하고 있는 npm 모듈의 취약점을 검사하자!

npm audit 기능이란? https://blog.outsider.ne.kr/1375 npm에 새로 추가된 audit 기능 :: Outsider's Dev Story [npm v6가 나오면서](https://medium.com/npm-inc/announcing-npm-6-5d0b1799a905) `npm audit`이라는 기능이 추가되었다. 이는 사용하는 npm 모듈의 취약점을 검사해주는 [Node Security Platform](https://node... blog.outsider.ne.kr npm v6가 나오면서 npm audit이라는 기능이 추가되었다. 이는 사용하는 npm 모듈의 취약점을 검사해주는 Node Security Platform(보통 nsp 명령어로 사용한다)를 npm, Inc가 인..

카테고리 없음 2023.12.21