add example for setting pool query results