-
Notifications
You must be signed in to change notification settings - Fork 136
RecordExists and NoRecordExists is not reusable for validate different values #178
Comments
Hm, I was found that problem occurs not for All PDO drivers. For (Sorry, do not have time for continue analyze, I will fix it for me by implement alternative approach) |
I will try to continue :) source code of validator: zend-validator/src/Db/AbstractDb.php Lines 315 to 325 in 2868a94
source code of https://github.com/zendframework/zend-db/blob/b1c79192c76b817062c1fa4e81ef2dcf1afea73e/src/Sql/AbstractSql.php#L136
so, for But for sqlite is Ok, because :) I am not sure that it is must be fixed on |
This repository has been closed and moved to laminas/laminas-validator; a new issue has been opened at laminas/laminas-validator#16. |
Custom modification in method for debug: https://github.com/zendframework/zend-validator/blob/master/src/Db/AbstractDb.php#L321
test case:
result:
as we see, in next call we have
:where2
instead:where1
The text was updated successfully, but these errors were encountered: