พอดีผมมีโปรเจคที่เขียนด้วย Node Js ที่ต้องการฟังก์ชั่น Remember me (เอาไว้ใข้ตอนขี้เกียจ login อิอิ) ผมก็เลยต้องหาข้อมูล ว่าจะเขียนโค้ดอย่างไรดี
เหล่าสาวกไอทีหลายๆท่านคงเคยได้เห็น หรือได้รู้วิธีการ injection SQL กันมาบ้าง แต่ถ้าเป็นฐานข้อมูลแบบ…
ไปที่หน้า console ของ S3 https://console.aws.amazon.com/s3 จากนั้นเลือก Bucket ที่ต้องการจะตั้งค่าเป็นสาธารณะ
สวัสดีครับ วันนี้ผมขอนำวิธีแก้ปัญหากับสิ่งที่ผมเจอ ตอนแรกผมก็นั่งทำโปรเจคของผมปกติ…
แบ็คอัพข้อมูล โดยใช้คำสั่ง
mongodump --db <ชื่อฐานข้อมูล> --collection <ชื่อคอลเลคชั่น>
เช่น mongodump --db customer --collection users