Q: WHERE IN with Doctrine 2 DBAL How to use a WHERE IN clause with Doctrine DBAL ?
The following query doesn't work, it search the name "Bob","Elvis","Bill" (as a string) :
$users = $dbc->fetchAssoc("SELECT * FROM users WHERE name IN(:users_names)", array(
    'users_names' => '"Bob","Elvis","Bill"'
));

I tried with an array, it's the same problem.

A: Try this : 
 $searchParameters = array("Bob","Elvis","Bill");

    $users = "SELECT * FROM users WHERE name IN (?1)";
    $q = $em->createQuery($users)
       ->setParameter(1, $searchParameters);

    $result = $q->execute();

