Writing query results works.