title: mongoDB remove sub-array
body: <p>Ok is there a quick way to remove the follwoing though PHP mongodb</p>
  
  <p>here is our mongoDB row</p>
  
  <pre><code>{
    "today":""
    "session": "6266262626",
    "products": [
      {
        "barcode": "27788822",
        "item": "village day ticket",
        "price": 1315,
        "qty": "3"
      },
      {
        "barcode": "8544122",
        "item": "village night ticket",
        "price": 1433,
        "qty": "1"
      }
    ]
  }
  </code></pre>
  
  <p>I would like to delete the product </p>
  
  <pre><code>{
        "barcode": "8544122",
        "item": "village night ticket",
        "price": 1433,
        "qty": "1"
  }
  </code></pre>
  
  <p>I know how to update, and insert but cant figure out how to delete it.</p>