Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged 数据库中

0 votes
984 views
1 answer
    问题描述 假设当前有数据库表,其中一个字段为权重,现有数据行ABCD,其权重字段的值为1234; 在某一刻甲打开页面,对其进行查看; 然后乙在甲之后,对数据库进行操作,插入数据E,其权重为5,并随后调整权重为A-1 B-5 C-3 D-4 ... 借版本锁进行处理,即甲更新时版本不对,则直接抛出错误,并让前端刷新页面 但是我的组长说不对,让我自己好好想想 ...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    问题描述 假设当前有数据库表,其中一个字段为权重,现有数据行ABCD,其权重字段的值为1234; 在某一刻甲打开页面,对其进行查看; 然后乙在甲之后,对数据库进行操作,插入数据E,其权重为5,并随后调整权重为A-1 B-5 C-3 D-4 ... 借版本锁进行处理,即甲更新时版本不对,则直接抛出错误,并让前端刷新页面 但是我的组长说不对,让我自己好好想想 ...
asked Jan 27, 2021 in Technique[技术] by 深蓝 (71.8m points)
To see more, click for the full list of questions or popular tags.
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...