Hi there! Thanks for sharing, @pyrrho
There's a few ways to control when queries are triggered.
-You could use a JS query, as described above
-You could have conditional event handlers
-You can conditionally disable automatic queries (all methods are discussed here)