new query builder based on driver