getting type of query - Convex Community