Basil Shubin пишет:
> 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.

Okey, I discover 'lockmode' parameter. And how I can use it (or anything 
else) to get this: if I have select the row, so NOBODY can access to it? 
Moreover there be should an exception raised, so I can catch it and show 
to user message box about that database entry is in use by somebody? Is 
this possible and how do you solve this task? I need it to disallow 
mutiple editing/deleting of same entry by different users in same time.

Thanks!

-- 
Basil Shubin
Freelance Software Developer


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To post to this group, send email to sqlalchemy@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sqlalchemy?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to