How to force reset cache of a query?

There is “Invalidate cache” link in the designer. But how do I do it from the code?

Hey @Dima thanks pointing this out! Right now you cannot invalidate the query cache programmatically but we’ll track this as a feature request and let you know once we ship it! This has been requested 1-2 other times, so hopefully we can prioritize this soon.