Query::prepareResult