Hi Egi,
On 25 December 2014 at 14:56, egi gundari <[email protected]> wrote:
> Hi,
>
> I get InvalidArgumentException:"Invalid fetch-style given for caching
> result." when using QueryCacheProfile for
> ...->fetchAll('PDO::FETCH_CLASS')
>
> the question, PDO::FETCH_CLASS not supported when using Cache, Why ? tks.
>
> --
>
May I ask why you are passing the string `"PDO::FETCH_CLASS"` to the
`fetchAll` method, instead of passing the value of the constant
`PDO::FETCH_CLASS`?
Marco Pivetta
http://twitter.com/Ocramius
http://ocramius.github.com/
--
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.