On May 16, 2008, at 9:38 AM, Michael Hipp wrote:

>
> Hello, new to SQLAlchemy. A question...
>
> Does SA implement what is sometimes referred to as opportunistic  
> locking or
> sequence locking? This is intended to prevent near simultaneous but
> incompatible UPDATESs of the same record in the database by two  
> different clients.

yes, this feature is provided through an option on mapper() called  
"version_id_col", described at:  
http://www.sqlalchemy.org/docs/04/sqlalchemy_orm.html#docstrings_sqlalchemy.orm_modfunc_mapper
 
   (its the last option in the list).


--~--~---------~--~----~------------~-------~--~----~
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