title: Do SqlAlchemy query results get cached?
body: <p>I have basically the following code (I simplified it a bunch):</p>
  
  <pre><code>while True:
      new_payments = session.query(PayPalPayments) \
          .filter_by(status='new') \
          .order_by(PayPalPayments.payment_id) \
          .all()
      process_payments(new_payments)
      time.sleep(30)
  </code></pre>
  
  <p>For some reason only the first time I run the program the query returns <code>new_payments</code>. If a new payment comes in while the program is <code>time.sleep(30)</code> sleeping, then the query doesn't return any new results.</p>
  
  <p>Are the query results cached for the same query in SqlAlchemy? Any ideas how to make each query to really query the database and return new rows?</p>