How to update data of one column for all rows in SqlAlchemy?
<p>For single record update, I have tried the following code and it's working.</p>

<pre><code>uid=1

info = Info.query.filter_by(id=uid).first()
info.sold_status ='1'
db.session.add(info)
db.session.commit()
</code></pre>

<p>Now I want to update one column for multiple rows.
I have tried:</p>

<pre><code>for row in db.session.query(Uninstall.status).all():
     print row.status

abc=row.status
abc=uid

db.session.add(row.status)
db.session.commit()
</code></pre>

<p>but it's not working.</p>

<p>Thanks in advance :)</p>