Query\QueryBuilder::getCompiledSelect

Returns the generated 'select' sql query