fireboomio / fireboom

Fireboom is a visualization API cloud platform designed for developers with the goal of rapidly delivering production-ready APIs.
https://www.fireboom.cloud/
Other
42 stars 5 forks source link

golang钩子事务支持 #50

Open AnsonCode opened 10 months ago

AnsonCode commented 10 months ago

golang钩子中支持事务操作

可能的方案:

其它信息:

关联 https://github.com/fireboomio/fireboom-engine/issues/7

当前已经实现了@transaction 指令,详情

mutation MyQuery @transaction {
  rb_createOneT(data: { name: "22211122"}) {
    id
    name
  }
  rb_createOneRole(data: {code: "a111111", name: "1111"}) {
    code
    name
  }
}