title: If condition (multiple cond)
body: <p>Need help with my if conditions.</p>
  <pre><code>if(userId &amp;&amp; !targetId){
  // query logic for userid and no targetid
  } 
  else if (!userId &amp;&amp; targetId){
  // query logic for targeted and no user id
  }
  </code></pre>
  <p>Now how do I write the &quot;else&quot; part? another query logic for when both userid  and target id are present.</p>