mirror of
https://github.com/doctrine/orm.git
synced 2026-03-23 22:42:18 +01:00
[PR #10276] Added warning about query cache in relation to parameters #12236
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/10276
State: closed
Merged: Yes
Hi,
It's probably not worded the best but I felt the need to add a warning in the docs about the query cache to hopefully help others not make the same mistake I did.
Although the docs do state: "Parameters for the query should be set on the filter object by
SQLFilter#setParameter(). Only parameters set via this function can be used in filters" I think it's not quite clear why and if developing with the query cache off can lead to hard to find bugs later on.