@andrey1s `$qb`? I suppose that after `->getQuery()` call it's not a `Builder` anymore, it's a `Query`.