René's URL Explorer Experiment


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

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:372cf6db-5e7a-ada3-6886-e9d1bf790c0e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idA142:325D2D:574C5F:75210C:6A51CE55
html-safe-noncecfac3a6268760d6ae0603d996b3510ae3fe6a000661d98c1a2724191dc053501
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTQyOjMyNUQyRDo1NzRDNUY6NzUyMTBDOjZBNTFDRTU1IiwidmlzaXRvcl9pZCI6IjcyMDE4MjY1MzQwODgzNjM2MDUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacb7d3839841df0481038b10dc101ab61d8eb4bd40aad0bd18a77f687e84f8bffc
hovercard-subject-tagpull_request:3545645782
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/sqlc-dev/sqlc/pull/4385/files
twitter:imagehttps://avatars.githubusercontent.com/u/34893?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/34893?s=400&v=4
og:image:altThe 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_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/sqlc-dev/sqlc git https://github.com/sqlc-dev/sqlc.git
octolytics-dimension-user_id136738596
octolytics-dimension-user_loginsqlc-dev
octolytics-dimension-repository_id193160679
octolytics-dimension-repository_nwosqlc-dev/sqlc
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id193160679
octolytics-dimension-repository_network_root_nwosqlc-dev/sqlc
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/sqlc-dev/sqlc/pull/4385/files#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F4385%2Ffiles
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fsqlc-dev%2Fsqlc%2Fpull%2F4385%2Ffiles
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=sqlc-dev%2Fsqlc
Reloadhttps://github.com/sqlc-dev/sqlc/pull/4385/files
Reloadhttps://github.com/sqlc-dev/sqlc/pull/4385/files
Reloadhttps://github.com/sqlc-dev/sqlc/pull/4385/files
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4385/files
sqlc-dev https://github.com/sqlc-dev
sqlchttps://github.com/sqlc-dev/sqlc
Notifications https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc
Fork 1.1k https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc
Star 18k https://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc
Code https://github.com/sqlc-dev/sqlc
Issues 597 https://github.com/sqlc-dev/sqlc/issues
Pull requests 106 https://github.com/sqlc-dev/sqlc/pulls
Discussions https://github.com/sqlc-dev/sqlc/discussions
Actions https://github.com/sqlc-dev/sqlc/actions
Projects https://github.com/sqlc-dev/sqlc/projects
Security and quality 0 https://github.com/sqlc-dev/sqlc/security
Insights https://github.com/sqlc-dev/sqlc/pulse
Code https://github.com/sqlc-dev/sqlc
Issues https://github.com/sqlc-dev/sqlc/issues
Pull requests https://github.com/sqlc-dev/sqlc/pulls
Discussions https://github.com/sqlc-dev/sqlc/discussions
Actions https://github.com/sqlc-dev/sqlc/actions
Projects https://github.com/sqlc-dev/sqlc/projects
Security and quality https://github.com/sqlc-dev/sqlc/security
Insights https://github.com/sqlc-dev/sqlc/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fsqlc-dev%2Fsqlc%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fsqlc-dev%2Fsqlc%2Fissues%2Fnew%2Fchoose
kyleconroyhttps://github.com/kyleconroy
mainhttps://github.com/sqlc-dev/sqlc/tree/main
claude/fix-issue-4337-A2e0uhttps://github.com/sqlc-dev/sqlc/tree/claude/fix-issue-4337-A2e0u
Conversation 0 https://github.com/sqlc-dev/sqlc/pull/4385
Commits 2 https://github.com/sqlc-dev/sqlc/pull/4385/commits
Checks 12 https://github.com/sqlc-dev/sqlc/pull/4385/checks
Files changed https://github.com/sqlc-dev/sqlc/pull/4385/files
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4385/files
Coerce SQLite JSONB output regardless of type casing https://github.com/sqlc-dev/sqlc/pull/4385/files#top
Show all changes 2 commits https://github.com/sqlc-dev/sqlc/pull/4385/files
82d68a5 Coerce SQLite JSONB output regardless of type casing claude Apr 17, 2026 https://github.com/sqlc-dev/sqlc/pull/4385/commits/82d68a530eb55d1f5c164caf27b7147207d51be8
0272689 Drop unit test additions; rely on end-to-end coverage claude Apr 17, 2026 https://github.com/sqlc-dev/sqlc/pull/4385/commits/0272689ebdd1fc5974c3cf7da3f2b1a4fc4e9e97
Clear filters https://github.com/sqlc-dev/sqlc/pull/4385/files
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4385/files
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4385/files
selector.go https://github.com/sqlc-dev/sqlc/pull/4385/files#diff-e4e02703e83f32810a38562ae9f64e566ad4906f2cd6af0f48b46ae8a89bbf92
models.go https://github.com/sqlc-dev/sqlc/pull/4385/files#diff-58bdef531e1a4e727ca93fc903eb66cf5d6729674da6d173b16cfcdb8b36e85d
query.sql.go https://github.com/sqlc-dev/sqlc/pull/4385/files#diff-d6f101ac5655e0ed773deb235c65995abb0523df91f0d78fabf1fe85f5ab0418
query.sql https://github.com/sqlc-dev/sqlc/pull/4385/files#diff-ac198af938c1201ff49f516c9fa35b8d730ddd6e253f100408b8d1c4e2a0d261
schema.sql https://github.com/sqlc-dev/sqlc/pull/4385/files#diff-b9758bae6003fa245165f1e0d6112692107c3a7424052d38451d4da94d2e0827
internal/compiler/selector.gohttps://github.com/sqlc-dev/sqlc/pull/4385/files#diff-e4e02703e83f32810a38562ae9f64e566ad4906f2cd6af0f48b46ae8a89bbf92
View file https://github.com/sqlc-dev/sqlc/blob/0272689ebdd1fc5974c3cf7da3f2b1a4fc4e9e97/internal/compiler/selector.go
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/4385/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/4385/files#diff-e4e02703e83f32810a38562ae9f64e566ad4906f2cd6af0f48b46ae8a89bbf92
https://github.com/sqlc-dev/sqlc/pull/4385/files#diff-e4e02703e83f32810a38562ae9f64e566ad4906f2cd6af0f48b46ae8a89bbf92
https://github.com/sqlc-dev/sqlc/pull/4385/files#diff-e4e02703e83f32810a38562ae9f64e566ad4906f2cd6af0f48b46ae8a89bbf92
internal/endtoend/testdata/jsonb/sqlite/go/models.gohttps://github.com/sqlc-dev/sqlc/pull/4385/files#diff-58bdef531e1a4e727ca93fc903eb66cf5d6729674da6d173b16cfcdb8b36e85d
View file https://github.com/sqlc-dev/sqlc/blob/0272689ebdd1fc5974c3cf7da3f2b1a4fc4e9e97/internal/endtoend/testdata/jsonb/sqlite/go/models.go
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4385/files
internal/endtoend/testdata/jsonb/sqlite/go/query.sql.gohttps://github.com/sqlc-dev/sqlc/pull/4385/files#diff-d6f101ac5655e0ed773deb235c65995abb0523df91f0d78fabf1fe85f5ab0418
View file https://github.com/sqlc-dev/sqlc/blob/0272689ebdd1fc5974c3cf7da3f2b1a4fc4e9e97/internal/endtoend/testdata/jsonb/sqlite/go/query.sql.go
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4385/files
internal/endtoend/testdata/jsonb/sqlite/query.sqlhttps://github.com/sqlc-dev/sqlc/pull/4385/files#diff-ac198af938c1201ff49f516c9fa35b8d730ddd6e253f100408b8d1c4e2a0d261
View file https://github.com/sqlc-dev/sqlc/blob/0272689ebdd1fc5974c3cf7da3f2b1a4fc4e9e97/internal/endtoend/testdata/jsonb/sqlite/query.sql
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/4385/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/4385/files#diff-ac198af938c1201ff49f516c9fa35b8d730ddd6e253f100408b8d1c4e2a0d261
https://github.com/sqlc-dev/sqlc/pull/4385/files#diff-ac198af938c1201ff49f516c9fa35b8d730ddd6e253f100408b8d1c4e2a0d261
internal/endtoend/testdata/jsonb/sqlite/schema.sqlhttps://github.com/sqlc-dev/sqlc/pull/4385/files#diff-b9758bae6003fa245165f1e0d6112692107c3a7424052d38451d4da94d2e0827
View file https://github.com/sqlc-dev/sqlc/blob/0272689ebdd1fc5974c3cf7da3f2b1a4fc4e9e97/internal/endtoend/testdata/jsonb/sqlite/schema.sql
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/sqlc-dev/sqlc/pull/4385/{{ revealButtonHref }}
https://github.com/sqlc-dev/sqlc/pull/4385/files#diff-b9758bae6003fa245165f1e0d6112692107c3a7424052d38451d4da94d2e0827
Please reload this pagehttps://github.com/sqlc-dev/sqlc/pull/4385/files
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.