Allow query data to be string