Answers for "MONGODB AGGREGATION tutorials"

0

MONGODB AGGREGATION tutorials

db.stocks.aggregate([
  { $match: { "price": 2000 } }
])
Posted by: Guest on October-15-2020
0

MONGODB AGGREGATION tutorials

db.stocks.insertMany([
   { name: "Infosys", qty: 100, price: 800 },
   { name: "TCS", qty: 100, price: 2000 },
   { name: "Wipro", qty: 2500, price: 300 }
])
Posted by: Guest on October-15-2020
0

MONGODB AGGREGATION tutorials

db.stocks.find().pretty()
Posted by: Guest on October-15-2020

Browse Popular Code Answers by Language