Jul 13, 2024
users table and phone numbers table$updateMany, $set)$lookup and $unionWithSELECT * FROM peopledb.people.find({})SELECT * FROM people WHERE age = 25db.people.find({ age: 25 })SELECT * FROM people WHERE age > 25db.people.find({ age: { $gt: 25 } })*admin, password: super-secret)products.json)products.json)quick-demo)npm install).env.local with MongoDB URInpm run dev)localhost:3000lib/mongodb.jspages/index.jsgetServerSideProps
Hoodie
find query with { category: 'Hoodie' }