The doctrine code snippets work OK with MySQL but I noticed that rowCount() is not 100% reliable in all database vendors.
So, rather than relying on rowCount, I believe the extract() method in QueryExtractor has to control if $this->stmt->fetch() returns false as per Doctrine API documentation.
Hi there,
The doctrine code snippets work OK with MySQL but I noticed that
rowCount()
is not 100% reliable in all database vendors.So, rather than relying on
rowCount
, I believe theextract()
method inQueryExtractor
has to control if$this->stmt->fetch()
returnsfalse
as per Doctrine API documentation.Many thanks,