Title: Coerce SQLite JSONB output regardless of type casing by kyleconroy · Pull Request #4385 · sqlc-dev/sqlc · GitHub
Open Graph Title: Coerce SQLite JSONB output regardless of type casing by kyleconroy · Pull Request #4385 · sqlc-dev/sqlc
X Title: Coerce SQLite JSONB output regardless of type casing by kyleconroy · Pull Request #4385 · sqlc-dev/sqlc
Description: The sqliteSelector was doing a case-sensitive comparison against "jsonb", so columns declared with capitalized variants like JSONB or JsonB were not wrapped in json(col) on SELECT/RETURNING. Use strings.EqualFold to match the type name case-insensitively. fixes #4337
Open Graph Description: The sqliteSelector was doing a case-sensitive comparison against "jsonb", so columns declared with capitalized variants like JSONB or JsonB were not wrapped in json(col) on SELECT/RETURNI...
X Description: The sqliteSelector was doing a case-sensitive comparison against "jsonb", so columns declared with capitalized variants like JSONB or JsonB were not wrapped in json(col) on SELECT...
Opengraph URL: https://github.com/sqlc-dev/sqlc/pull/4385
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:372cf6db-5e7a-ada3-6886-e9d1bf790c0e |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A142:325D2D:574C5F:75210C:6A51CE55 |
| html-safe-nonce | cfac3a6268760d6ae0603d996b3510ae3fe6a000661d98c1a2724191dc053501 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTQyOjMyNUQyRDo1NzRDNUY6NzUyMTBDOjZBNTFDRTU1IiwidmlzaXRvcl9pZCI6IjcyMDE4MjY1MzQwODgzNjM2MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b7d3839841df0481038b10dc101ab61d8eb4bd40aad0bd18a77f687e84f8bffc |
| hovercard-subject-tag | pull_request:3545645782 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/sqlc-dev/sqlc/pull/4385/files |
| twitter:image | https://avatars.githubusercontent.com/u/34893?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/34893?s=400&v=4 |
| og:image:alt | The sqliteSelector was doing a case-sensitive comparison against "jsonb", so columns declared with capitalized variants like JSONB or JsonB were not wrapped in json(col) on SELECT/RETURNI... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/sqlc-dev/sqlc git https://github.com/sqlc-dev/sqlc.git |
| octolytics-dimension-user_id | 136738596 |
| octolytics-dimension-user_login | sqlc-dev |
| octolytics-dimension-repository_id | 193160679 |
| octolytics-dimension-repository_nwo | sqlc-dev/sqlc |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 193160679 |
| octolytics-dimension-repository_network_root_nwo | sqlc-dev/sqlc |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width