Title: Render empty whereIn as 1 = 2 · Issue #35 · JavaWebStack/orm · GitHub
Open Graph Title: Render empty whereIn as 1 = 2 · Issue #35 · JavaWebStack/orm
X Title: Render empty whereIn as 1 = 2 · Issue #35 · JavaWebStack/orm
Description: Is your feature request related to a problem? Please describe. Currently an empty whereIn clause will render as empty list which results in a MySQL error. Describe the solution you'd like An empty whereIn clause should render as 1 = 2 or...
Open Graph Description: Is your feature request related to a problem? Please describe. Currently an empty whereIn clause will render as empty list which results in a MySQL error. Describe the solution you'd like An empty ...
X Description: Is your feature request related to a problem? Please describe. Currently an empty whereIn clause will render as empty list which results in a MySQL error. Describe the solution you'd like An em...
Opengraph URL: https://github.com/JavaWebStack/orm/issues/35
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Render empty whereIn as 1 = 2","articleBody":"**Is your feature request related to a problem? Please describe.**\r\nCurrently an empty whereIn clause will render as empty list which results in a MySQL error.\r\n\r\n**Describe the solution you'd like**\r\nAn empty whereIn clause should render as `1 = 2` or some other false statement in order to replicate the expected behavior of `WHERE x IN ()`\r\n\r\n**Describe alternatives you've considered**\r\nExcluding the statement is another option but that's dangerous as sensitive data might be exposed that otherwise would have been filtered by the IN clause and doesn't really match the expected behavior of `does the set () include element x`.\r\n","author":{"url":"https://github.com/JanHolger","@type":"Person","name":"JanHolger"},"datePublished":"2022-04-07T15:37:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/35/orm/issues/35"}
| 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:ee76b1b9-c23e-f09b-f445-216c77c6f102 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B3CA:1125C6:15D8BF:1BFA19:697E42B7 |
| html-safe-nonce | 4d3066b87335351f0b077387e64620be6f8c34caef8d7767d3a9d8bdbd1cba6e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0NBOjExMjVDNjoxNUQ4QkY6MUJGQTE5OjY5N0U0MkI3IiwidmlzaXRvcl9pZCI6Ijg5NjIwNTAxMTM2MTg3MjM1MTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 521f996d1b87a5a17d040e3a1a95d0f4c8624e4e0e0727560e9046ca7b253a56 |
| hovercard-subject-tag | issue:1196223451 |
| 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/JavaWebStack/orm/35/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b1f7b4bfccf363772e711fd58471454a82416cc68e8e941a505826bcb35d85f3/JavaWebStack/orm/issues/35 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b1f7b4bfccf363772e711fd58471454a82416cc68e8e941a505826bcb35d85f3/JavaWebStack/orm/issues/35 |
| og:image:alt | Is your feature request related to a problem? Please describe. Currently an empty whereIn clause will render as empty list which results in a MySQL error. Describe the solution you'd like An empty ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JanHolger |
| hostname | github.com |
| expected-hostname | github.com |
| None | 60279d4097367e16897439d16d6bbe4180663db828c666eeed2656988ffe59f6 |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaWebStack/orm git https://github.com/JavaWebStack/orm.git |
| octolytics-dimension-user_id | 73674659 |
| octolytics-dimension-user_login | JavaWebStack |
| octolytics-dimension-repository_id | 308479502 |
| octolytics-dimension-repository_nwo | JavaWebStack/orm |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 308479502 |
| octolytics-dimension-repository_network_root_nwo | JavaWebStack/orm |
| 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 | 7c85641c598ad130c74f7bcc27f58575cac69551 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width