updated queryBuilder => $qb