support iteration query