use the lockmode='update' on a query object. row_obj = query_obj.select(where, lockmode='update').execute()
Basil Shubin wrote: > Hi friends! > > I have use SQLAlchemy 0.3 with MySQLdb 1.2.1 How I can lock row in > database table when I select it? So nobody can access it in same time. > BTW I use tables with InnoDB engine. > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Sqlalchemy-users mailing list Sqlalchemy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users