title: Cakephp : add condition in this->Model->save()
body: <p>i am working on a cakephp 2.x .want to add a condition into my save query .. for example i want to implement this query </p>
  
  <pre><code>       INSERT INTO 'this' where condition is 'this'
  </code></pre>
  
  <p>right now i am doing this</p>
  
  <pre><code>      $count = $this-&gt;Message-&gt;find('count', array(
                  'conditions' =&gt; array('Message.mobileNo' =&gt; $mobileNo,
                                        'Message.body'=&gt;$body
  
                  )));
  
              if($count&gt;0){
                  echo "already have a message";
  
               }else
              {
                  $this-&gt;Message-&gt;create();
                  $this-&gt;Message-&gt;save($this-&gt;request-&gt;data);
              }
  </code></pre>
  
  <p>at times now i am first checking through count and then saving into the database ... can i add condition into my <strong>save</strong>  so i dont have to query two times into database just to accomplish one task</p>