Force (Re)calculation of Calculated Fields #17761
Unanswered
cancan101
asked this question in
Q&A / Support
Replies: 1 comment
-
@cancan101 You can recalculated it via own command direct in the query db table. I don't know a command in the pimcore core for that.
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there any way to tell Pimcore to calculate / recalculate a calculated field without having to iterate over all objects and save them?
i.e. I added a new, calculated field to my Object definition and I would to populate the column in the query table (e.g. so sorting or filtering works on the grid view).
from the docs:
Yes, I can write my own command that iterates + calls save, but (a) I wanted to see if something exists already and (b) would be nice to not have to call save and bump the version count etc.
Beta Was this translation helpful? Give feedback.
All reactions