toQuery with dialect argument
dialect getString
test updates
pass string flag to subquery
update the rest of the tests