🗃️ 내가 다시 볼 것

router.put("/goods/:goodsId/cart", async (req, res) => { const { params: { goodsId }, body: { quantity }, } = req; const existsCart = await Cart.find({ goodsId: Number(goodsId) }); if (existsCart.length) { await Cart.updateOne({ goodsId: Number(goodsId) }, { $set: { quantity } }); } res.json({ success: true });});put 메서드로 mongo db 데이터를 업데이트 하는 코드를 공부하는데 $set 이라는 기호를 보았다. Mongo DB ..
// click btn id가 like인 경우document.addEventListener("click", (event) => { if (event.target && event.target.id === "like") { }});
본 글은  논문의 전체를 요약하지 않았으며, 개인 공부에 필요한 내용을 취사 선택하여 정리한 내용입니다.  Autonomous Vehicle Security: A Taxonomy of Attacks and DefencesIn recent years, we have seen significant advancement in technologies to bring about smarter cities worldwide. The interconnectivity of things is the key enabler in these initiatives. An important building block is smart mobility, and it revolves around reieeexplore.ieee.org..
전호영
'🗃️ 내가 다시 볼 것' 카테고리의 글 목록 (3 Page)