Thief of Wealth
Typeorm: getrepository에 쓰는 조건식
개발/NomadCoder 2019. 2. 23. 00:07

Entity들을 아래와 같은 속성:조건식으로 여러개 서치가 가능하다. repository.find({ count1: LessThen(5), // operator name: Equal("Hello"), title: Not(Equal("Buy")), description1: Like("%AAA%BBB%"), description2: Not(Like("%ADAD_A")), date1: Between("yesterday", "today"), date2: Not(Between("yesterday", "today")), type1: In("a", "b", "c", "d"), type1: Not(In("a", "b", "c", "d")), array..

Postgresql Command
개발/NomadCoder 2019. 2. 22. 22:39

계속 까먹어서 정리합니다.pgAdmin4로 편하게 쓰고 있었지만,터미널과 익숙해 지기 위함. 추가할 명령어 있으면 그때 그때 수정할 예정. ""

profile on loading

Loading...