I'm trying to accomplish something similar to the following SQL, but using the Doctrine API.
SELECT * FROM table_name WHERE column_name NOT IN (1, 2, 3);
I was thinking of something like this:
$entityManager->getRepository($entity)->findBy(array('ID' => array('NOT IN' => array(1, 2, 3))));
... How far am I?