On 07/29/2014 02:50 AM, 'Frank Liou' via sqlalchemy wrote:
> My question is I want to add some data
> 
> But what if so many people add in the same time? Is it will error?
> 
> So
> 
> Can i that the add code limit in one guy to use when he is add over then 
> release limit code and let other guy to use 

You need to read up on transaction isolation, which is handled by the
SQL database, not SQLAlchemy. For example, here's PostgreSQL's docs:
<URL:http://www.postgresql.org/docs/9.3/static/transaction-iso.html>

SQLAlchemy does provide the interface to set the transaction isolation
level, though the implications are database-specific.
<URL:http://docs.sqlalchemy.org/en/latest/core/connections.html?highlight=isolation>

-- 
Jonathan Rogers

-- 
You received this message because you are subscribed to the Google Groups 
"sqlalchemy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sqlalchemy+unsubscr...@googlegroups.com.
To post to this group, send email to sqlalchemy@googlegroups.com.
Visit this group at http://groups.google.com/group/sqlalchemy.
For more options, visit https://groups.google.com/d/optout.

Reply via email to