directQueryWithResult support. Allows me to do a DISTINCT.