feat: Implement ability to drop cache keys using combination of OR an…#75
Open
KminekMatej wants to merge 12 commits into
Open
feat: Implement ability to drop cache keys using combination of OR an…#75KminekMatej wants to merge 12 commits into
KminekMatej wants to merge 12 commits into
Conversation
Contributor
Author
|
Documentation planned to create after expected discussion |
Contributor
|
Have you considered using |
Contributor
Author
|
@JanTvrdik I did and it works. However this is usable for some simple scenarios like you wrote, but when the logic grows bigger, using this approach makes it way clearer. In some points, I need to drop all animals, regardless on any other tags they have. In that case, I need to add to newly created dog these tags:
You can imagine that when your orm complexity grows large, this gets a big messy. Way easier solution is then tagging with:
and in different points of application perform drops right the way you want |
dg
force-pushed
the
master
branch
2 times, most recently
from
March 10, 2024 22:09
40be743 to
a116cb9
Compare
dg
force-pushed
the
master
branch
2 times, most recently
from
June 18, 2024 22:13
ea335de to
ccec70b
Compare
dg
force-pushed
the
master
branch
3 times, most recently
from
August 13, 2024 20:20
3ce492d to
fb5c89d
Compare
dg
force-pushed
the
master
branch
3 times, most recently
from
June 5, 2025 23:25
d31ad07 to
a71faf1
Compare
dg
force-pushed
the
master
branch
2 times, most recently
from
June 19, 2025 16:58
2d5f7a5 to
91c8061
Compare
dg
force-pushed
the
master
branch
3 times, most recently
from
August 6, 2025 23:06
b91fc47 to
05451a0
Compare
dg
force-pushed
the
master
branch
5 times, most recently
from
December 30, 2025 00:42
184a11f to
9566d2f
Compare
dg
force-pushed
the
master
branch
2 times, most recently
from
February 25, 2026 23:24
3d01371 to
72438d4
Compare
dg
force-pushed
the
master
branch
2 times, most recently
from
June 21, 2026 22:54
bfdd204 to
83b5502
Compare
dg
force-pushed
the
master
branch
2 times, most recently
from
July 14, 2026 02:41
730a0de to
ebbd4b1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Extending
$cache->clean();with possibility to search for tags to drop using AND logicUsage:
Dropping entities having tags
animalanddogand (brownorwhite). Will not match entity, taggedanimalanddogandblack.Standard behaviour stays unchanged.