inject convertor into query generator constructor