title: how to query sqlalchemy by month name
body: <p>I tried this</p>
  
  <pre><code>db_session.query(PaymentsMade).filter(func.strftime('%B', PaymentsMade.created_at) == "August").all()
  </code></pre>
  
  <p>but am getting this error </p>
  
  <pre><code>(ProgrammingError) function strftime(unknown, timestamp without time zone) does not exist
  LINE 3: WHERE strftime('%B', paymentsmade.created_at) = 'August'
            ^
  HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
  </code></pre>
  
  <p>and am saving the date <code>created_at = datetime.utcnow()</code></p>