is there a way to call server function using useQuery hook - TanStack