Title: APIJSON能不能保证事务啊 · Issue #270 · APIJSON/APIJSON · GitHub
Open Graph Title: APIJSON能不能保证事务啊 · Issue #270 · APIJSON/APIJSON
X Title: APIJSON能不能保证事务啊 · Issue #270 · APIJSON/APIJSON
Description: 前提:数据库表格之间没有任何关系 例子:添加一条数据到流水表 根据流水的账户id会锁定账户表主键id从而改变余额信息 像这样的操作一个要添加数据到表格,一个要修改数据,APIJSON的话一次请求不能完成的,这种的话怎么保证事物呢?
Open Graph Description: 前提:数据库表格之间没有任何关系 例子:添加一条数据到流水表 根据流水的账户id会锁定账户表主键id从而改变余额信息 像这样的操作一个要添加数据到表格,一个要修改数据,APIJSON的话一次请求不能完成的,这种的话怎么保证事物呢?
X Description: 前提:数据库表格之间没有任何关系 例子:添加一条数据到流水表 根据流水的账户id会锁定账户表主键id从而改变余额信息 像这样的操作一个要添加数据到表格,一个要修改数据,APIJSON的话一次请求不能完成的,这种的话怎么保证事物呢?
Opengraph URL: https://github.com/APIJSON/APIJSON/issues/270
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"APIJSON能不能保证事务啊","articleBody":"前提:数据库表格之间没有任何关系\r\n例子:添加一条数据到流水表 根据流水的账户id会锁定账户表主键id从而改变余额信息\r\n像这样的操作一个要添加数据到表格,一个要修改数据,APIJSON的话一次请求不能完成的,这种的话怎么保证事物呢?","author":{"url":"https://github.com/han-1023","@type":"Person","name":"han-1023"},"datePublished":"2021-07-15T03:39:27Z","url":"https://github.com/APIJSON/APIJSON/issues/270"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9b3e6bbd-111e-79c4-3dcd-5a949ce7c330 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9324:11BFC:85F573:BEE610:6AFCAF44 |
| html-safe-nonce | 8b72c2eb1a8ba179ba3a22b39eeb6108ce13d70d7d98c9143c01e64872eed539 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzI0OjExQkZDOjg1RjU3MzpCRUU2MTA6NkFGQ0FGNDQiLCJ2aXNpdG9yX2lkIjoiODgxMTY0MTM4OTczMDAxNzA5MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 3424a90513109daf11a6ce91f9f9e2fca5795bbfaf33076c815d686e68240e14 |
| hovercard-subject-tag | issue:944967426 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/APIJSON/APIJSON/270/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1c06342a35bec1a3b7d8bdd7fce4b0f4db1031bafbb0fdbfb23d6a4eede658a9/APIJSON/APIJSON/issues/270 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1c06342a35bec1a3b7d8bdd7fce4b0f4db1031bafbb0fdbfb23d6a4eede658a9/APIJSON/APIJSON/issues/270 |
| og:image:alt | 前提:数据库表格之间没有任何关系 例子:添加一条数据到流水表 根据流水的账户id会锁定账户表主键id从而改变余额信息 像这样的操作一个要添加数据到表格,一个要修改数据,APIJSON的话一次请求不能完成的,这种的话怎么保证事物呢? |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | han-1023 |
| hostname | github.com |
| expected-hostname | github.com |
| None | e3084aead77cbcb4f4904fba53851fa1a0546b0dec3619bd250815e72588dc6d |
| turbo-cache-control | no-preview |
| go-import | github.com/APIJSON/APIJSON git https://github.com/APIJSON/APIJSON.git |
| octolytics-dimension-user_id | 41146037 |
| octolytics-dimension-user_login | APIJSON |
| octolytics-dimension-repository_id | 74359442 |
| octolytics-dimension-repository_nwo | APIJSON/APIJSON |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 74359442 |
| octolytics-dimension-repository_network_root_nwo | APIJSON/APIJSON |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5410e4bebd3e45b138c853ecef3992279d86d5af |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width