text: //  insert some products  with tags
  db.products.insertMany([
      {
          _id: 6,
          name: "Logitech M235 Wireless Mouse",
          price: new NumberLong(175000),
          category: "laptop",
          tags: [
              "logitech", "mouse", "accessories"
          ]
      },
      {
          _id: 7,
          name: "Havit Cooler Pad Gaming 5Fan Blue led F2082",
          price: new NumberLong(200000),
          category: "laptop",
          tags: [
              "cooler", "laptop", "accessories", "fan"
          ]
      },
      {
          _id: 8,
          name: "Samsung LC24F390FHEXXD Curved Monitor ",
          price: new NumberLong(1750000),
          category: "computer",
          tags: [
              "samsung", "monitor", "computer"
          ]
      }
  ]);
  
  // select * from products where (tags = "samsung" and tags = "monitor")
  db.products.find({
      tags: {
          $all: ["samsung", "monitor"]
      }
  });
  
  // select * from products where tags in ("samsung",  "logitect")
  db.products.find({
      tags: {
          $elemMatch: {
              $in: ["samsung", "logitech"]
          }
      }
  });
  
  // select * from products where size(tags) = 3
  db.products.find({
      tags: {
          $size: 3
      }
  });
  