컴퓨터
mongodb 정규표현식
sayyesdoit
2020. 2. 7. 22:01
db.컬렉션이름.find({name: {$regex: /이승훈/}});
let str = "이승훈";
db.컬렉션이름.find((name: {$regex: str}});