Title: [Bug] sqlserver查询聚合函数出错 · Issue #648 · APIJSON/APIJSON · GitHub
Open Graph Title: [Bug] sqlserver查询聚合函数出错 · Issue #648 · APIJSON/APIJSON
X Title: [Bug] sqlserver查询聚合函数出错 · Issue #648 · APIJSON/APIJSON
Description: 🏆 Real-Time no-code, powerful and secure ORM 🚀 providing APIs and Docs without coding by Backend, and Frontend(Client) can customize response JSONs 🏆 实时 零代码、全功能、强安全 ORM 库 🚀 后端接口和文档零代码,前端(客户端) 定制返回 JSON 的数据和结构 - [Bug] sqlserver查询聚合函数出错 · Issue #648 · APIJSON/APIJSON
Open Graph Description: 🏆 Real-Time no-code, powerful and secure ORM 🚀 providing APIs and Docs without coding by Backend, and Frontend(Client) can customize response JSONs 🏆 实时 零代码、全功能、强安全 ORM 库 🚀 后端接口和文档零代码,前端(客户端) 定制返回...
X Description: 🏆 Real-Time no-code, powerful and secure ORM 🚀 providing APIs and Docs without coding by Backend, and Frontend(Client) can customize response JSONs 🏆 实时 零代码、全功能、强安全 ORM 库 🚀 后端接口和文档零代码,前端(客户端) 定制返回...
Opengraph URL: https://github.com/APIJSON/APIJSON
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug] sqlserver查询聚合函数出错","articleBody":"### APIJSON Version/APIJSON 版本号\r\n\r\n6.2\r\n\r\n### Database Type & Version/数据库类型及版本号\r\n\r\nsqlserver2012\r\n\r\n### Environment/环境信息\r\n\r\n```markdown\r\n- JDK/基础库:1.8\r\n- OS/系统:win11\r\n```\r\n\r\n\r\n### APIAuto Screenshots/APIAuto 请求与结果完整截屏\r\n\r\nhttps://github.com/fengdu126/appokgo/blob/master/c80f2d8b563540fc110e9232b1f3b5d.png\r\n\r\n### Current Behavior/问题描述\r\n\r\n```markdown\r\n {\r\n \"Moment\": {\r\n \"@column\":\"max(date):date\"\r\n }\r\n}\r\n\r\n返回:{\"Moment\":{\"@column\":\"max(date):date\"},\"ok\":false,\"code\":500,\"msg\":\"数据库驱动执行异常SQLException,非 Log.DEBUG 模式下不显示详情,避免泄漏真实模式名、表名等隐私信息\"}\r\n\r\nlog提示:order by 子句 列id无效,因为该列没有包含在聚合函数或group by子句中,\r\n\r\n但查max(id)是没有问题的。\r\n```\r\n\r\n\r\n### Expected Behavior/期望结果\r\n\r\n```markdown\r\n另外希望一条语句能查多个聚合函数,比如: {\r\n \"Moment\": {\r\n \"@column\":\"max(date):date,max(id):id\"\r\n }\r\n}\r\n```\r\n\r\n\r\n### Any additional comments?/其它补充说明?\r\n\r\n_No response_","author":{"url":"https://github.com/fengdu126","@type":"Person","name":"fengdu126"},"datePublished":"2023-12-13T07:21:30Z","url":"https://github.com/APIJSON/APIJSON/issues/648"}
| 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 | /:user_id/:repository/issues/:id(.:format) |
| route-controller | issues |
| route-action | show |
| fetch-nonce | v2:34454105-3bc7-a4b7-5b1f-54e7ab6d742c |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A800:2CE118:8537E2:BD6A52:6AFCAF38 |
| html-safe-nonce | a71bc420e2110bde59682cf8bc07d3969abcd1b79f5c345dd3608e120931dc7c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODAwOjJDRTExODo4NTM3RTI6QkQ2QTUyOjZBRkNBRjM4IiwidmlzaXRvcl9pZCI6Ijc0NDQwODUyNjgyMzcwMzczNjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 75a75e0654d44acca09466e328604a35c9f5c1d4f30ee3adb69b35b6a91b44ed |
| hovercard-subject-tag | repository:74359442 |
| 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/APIJSON/APIJSON/issues/648 |
| twitter:image | https://opengraph.githubassets.com/2fda828d1e1372682e62bea72e97d8dc39f7385f1618b3cc92a3b4405d2413f4/APIJSON/APIJSON |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2fda828d1e1372682e62bea72e97d8dc39f7385f1618b3cc92a3b4405d2413f4/APIJSON/APIJSON |
| og:image:alt | 🏆 Real-Time no-code, powerful and secure ORM 🚀 providing APIs and Docs without coding by Backend, and Frontend(Client) can customize response JSONs 🏆 实时 零代码、全功能、强安全 ORM 库 🚀 后端接口和文档零代码,前端(客户端) 定制返回... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | e3084aead77cbcb4f4904fba53851fa1a0546b0dec3619bd250815e72588dc6d |
| turbo-cache-control | no-cache |
| 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