Skip to content


DBAL-715: Using caching with fetchColumn() of single row does not work #1939

doctrinebot opened this Issue · 1 comment

2 participants


Jira issue originally created by user @beberlei:

The caching mechanism only triggers when the cursor is fully iterated and the result is closed. This breaks caching for code of the kind:

$cnt = $conn->executeQuery($sql)->fetchColumn();
@doctrinebot doctrinebot added the Bug label
@beberlei beberlei was assigned by doctrinebot
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.