Regarding upsert query

I need some help in upsert query. I have to append new values to arrays of
already existing key. I know how to do this part.
But problem is -

  1. Values in the array must be unique. So new value will be appended only
    if that value was not present in the array earlier.
  2. Also, I need way to delete specific value of the array. Plz help in this.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.