title: Is it possible to find columns using multiple values in Doctrine and Symfony2?
body: <p>image I have the following database structure </p>
  
  <pre><code>class voters
  {
      protected $voterid;
      protected $imageid;
      protected $action;
  }
  
  // $voterid = is the current voter
  // $imageid = is the id of the voted image
  // $action = is upvote/downvote,delete
  </code></pre>
  
  <p>what happens if I want to look for several items at once, to check if a column exists, 
  something like </p>
  
  <pre><code>$dummy = findOneBy('voterid'=&gt;1,'imageid'=&gt;2,action=&gt;"upvote");
  
  if($dummy)
  {
     //column exists!
  }
  </code></pre>
  
  <p>Is this possible?</p>