+1
$stmt = $this->conn->executeQuery(
'SELECT * FROM tableXYZ WHERE id IN (:ids)',
['ids'=>[1, 4,11]],
['ids'=>\Doctrine\DBAL\Connection::PARAM_INT_ARRAY]
);
$result = $stmt->fetchAll();
is not working!
Am Mittwoch, 19. August 2015 10:43:23 UTC+2 schrieb Parsifal:
>
> Hi Christphe,
>
> So how is the correct syntax if someone wants to pass an array to query
> this way and how to match keys of types with keys of params? Would you
> please give an example?
>
--
You received this message because you are subscribed to the Google Groups
"doctrine-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/doctrine-user.
For more options, visit https://groups.google.com/d/optout.