Query can be constructed of iodata