mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #8393] Added getHash method in SQLFilter to avoid caching the filtered queries #10963
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Original Pull Request: https://github.com/doctrine/orm/pull/8393
State: closed
Merged: No
I introduced a new final method getHash on SQLFilter that generates a hash based on the called class name and all the parameters. Also the FilterCollection::getHash() was modified to use the getHash method from SQLFilter.
This is implemented acording to @beberlei's recomandation see the discussion bellow.
https://github.com/doctrine/orm/issues/3955#issuecomment-593161750