需向数据库表中数值型字段进行加减有方便的方法没

除了先读取再提交外还有别的方法没

评论区

超级管理员 2025-05-29 13:36

update tbl_table set cou=cou+1 where id=1;
update tbl_table set cou=cou-1 where id=1;

cocolee 2025-05-29 16:18

这个我知道,用哪?添加个后端服务?

cocolee 2025-05-29 16:22

image.png

cocolee 2025-05-29 16:27

如果是自定义表单的话,这个时机怎么设置?

回复