title: Mongodb setting unique field
body: <pre><code> TENANT
    { "_ID" : 11, NAME : "ruben", OPERATION :[{OPERATION_ID: 100, NAME : "Check"}] }
  </code></pre>
  
  <p>how to set the OPERATION_ID has unique to avoid duplicate values and to avoid null values like primary key?</p>