ภาพรวม
ODM สำหรับ Node.js ที่เพิ่ม schema และ model ให้การใช้ MongoDB
ความเป็นมา
Mongoose จัด validation, middleware และการสร้าง query ผ่าน model ของแอป
เหมาะกับงานแบบไหน
บริการ Node/MongoDB ที่ต้องการ schema ใน application layer
ข้อควรชั่งน้ำหนัก
ต้องเข้าใจ document model, index และ transaction การมี schema ใน ODM ไม่ได้แทน constraint/การตรวจข้อมูลทุกช่องทาง
