Title: 如果系统中的表是分库的,这样能支持吗? · Issue #313 · APIJSON/APIJSON · GitHub
Open Graph Title: 如果系统中的表是分库的,这样能支持吗? · Issue #313 · APIJSON/APIJSON
X Title: 如果系统中的表是分库的,这样能支持吗? · Issue #313 · APIJSON/APIJSON
Description: 假如我现在有两张表,user和group,group有一个字段owner_id关联到user表的id,但是这两张表是在两个数据库中的,这时候我还能使用APIJSON吗? 我希望在查询group列表的时候,会自动给每一个对象加一个字段owner,就是当前group关联的user对象的信息。 我该怎么做呢?
Open Graph Description: 假如我现在有两张表,user和group,group有一个字段owner_id关联到user表的id,但是这两张表是在两个数据库中的,这时候我还能使用APIJSON吗? 我希望在查询group列表的时候,会自动给每一个对象加一个字段owner,就是当前group关联的user对象的信息。 我该怎么做呢?
X Description: 假如我现在有两张表,user和group,group有一个字段owner_id关联到user表的id,但是这两张表是在两个数据库中的,这时候我还能使用APIJSON吗? 我希望在查询group列表的时候,会自动给每一个对象加一个字段owner,就是当前group关联的user对象的信息。 我该怎么做呢?
Opengraph URL: https://github.com/APIJSON/APIJSON/issues/313
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"如果系统中的表是分库的,这样能支持吗?","articleBody":"假如我现在有两张表,`user`和`group`,`group`有一个字段`owner_id`关联到`user`表的`id`,但是这两张表是在两个数据库中的,这时候我还能使用APIJSON吗?\r\n我希望在查询`group`列表的时候,会自动给每一个对象加一个字段`owner`,就是当前`group`关联的`user`对象的信息。\r\n我该怎么做呢?","author":{"url":"https://github.com/bigfacewo","@type":"Person","name":"bigfacewo"},"datePublished":"2021-09-20T03:59:31Z","url":"https://github.com/APIJSON/APIJSON/issues/313"}
| 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:78149978-2ea8-f7a1-f609-f97b1c117ca3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A81C:1E8F4E:3189AD:441CB1:6AFCAF30 |
| html-safe-nonce | 64c3d7f954bc4d53c37539e2b4960f99537a087f6ac8c42ebcb646d48d9208a8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODFDOjFFOEY0RTozMTg5QUQ6NDQxQ0IxOjZBRkNBRjMwIiwidmlzaXRvcl9pZCI6Ijg1NTc2MDgzNjM1Mjc4MTA4NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 92d9697f2b82eda87b882916355ac7c7dc765157b811e9a73267dd51e2992eb6 |
| hovercard-subject-tag | issue:1000543694 |
| 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/313/issue_layout |
| twitter:image | https://opengraph.githubassets.com/0fdc945a03af17c9ed713b296815e86d2df34a3c229c6e25c9104888d59126ff/APIJSON/APIJSON/issues/313 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/0fdc945a03af17c9ed713b296815e86d2df34a3c229c6e25c9104888d59126ff/APIJSON/APIJSON/issues/313 |
| og:image:alt | 假如我现在有两张表,user和group,group有一个字段owner_id关联到user表的id,但是这两张表是在两个数据库中的,这时候我还能使用APIJSON吗? 我希望在查询group列表的时候,会自动给每一个对象加一个字段owner,就是当前group关联的user对象的信息。 我该怎么做呢? |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bigfacewo |
| 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