This topic created in 3870 days ago, the information mentioned may be changed or developed.
有个 Python 脚本在 2 台机器上运行,有可能会同时访问到一张表的某一行数据,所以想着当一台机器访问到那一行的数据先锁住,但不知道代码里怎么写....
2 replies • 2016-01-08 15:31:09 +08:00
 |
|
1
yuanji Jan 8, 2016
SQL 还是一样写吧。 select for update?
|