mormot事务控制
mormot对所有的数据库类型事务都是一样处理方法gProps.SharedTransaction(1, transBegin);try gProps.SharedTransaction(1, transCommitWithoutException);except on E: Exception do gProps.SharedTransaction(1, transRollback);end;
这个1换成一个用户变更,保证事务唯一就可以了