ad-create 선택자 클릭 시 adCreatePopupBtn 선택자 클릭 이벤트 중복 방지 예시document.querySelector("#ad-create").addEventListener("click", async (e) => { if(!isProcess) { e.stopPropagation(); if(await checkValidData()) { let data = await setData(); document.querySelector("#popup").classList.add("show"); document.querySelector(".popup-ad-create").classList.add("show")..
db.getCollection("quiz3").find({ $expr : { "$and" : [ {$ne : ["$status.code", "999"]}, {$lte : [{$strLenCP : "$title"}, 26]}, {$eq : ["$format.type", "TEXT"]}, {$eq : ["$format.answerType", "MULTIPLE_CHOICE"]}, {$allElementsTrue : {$map : { "input" : "$examples.body", "in" : {"$lte": [{"$strLenCP" : "$$this"}, 6]} }}} ]}}).limit(1000);status 999 and title 길이가 26 이하이고 format.type 이 TEXT이고 format ..