enum name should be QueryMode