Trimmed AbstractQuery::execute()