Have a code in function, which renders ResultProxy (as I understand), to template, like this:
query = db_session.execute(serious_business_query) #raw sql
return render_template('result.html', query=query)
I want to iterate through it in my template, but see nothing. How can I iterate through ResultProxy object? Or what should I pass to template to simply iterate through it?
Links to docs are OK, cant find what I need.