SelectQuery object using
I want to remove 'mytag' tag, which has been added as
$query->addTag('mytag') somewhere else. Apparently, neither
QueryAlterableInterface has appropriate interface method.
Is there any means (besides
SelectQuery subclassing) that I can use to remove a tag?
The reason may be the following (thanks Clive for asking):
I want to make a decision based on (expected) record set size inside
I could do
$countQuery = $query->countQuery(); $total = $countQuery->execute()->fetchField()
But, the cloned query will have same tag as original one and
execute() will invoke the same hook ad infinitum.