query config