Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
TanStack
/
db
Public
Notifications
You must be signed in to change notification settings
Fork
253
Star
3.9k
Code
Issues
140
Pull requests
154
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
feat(db): add caseWhen query operator
- #1536
#1536
Merged
samwillis
merged 21 commits into
main
TanStack/db:main
from
case-when
TanStack/db:case-when
Copy head branch name to clipboard
May 19, 2026
Conversation
Commits
21
(21)
Checks
Files changed
Merged
feat(db): add caseWhen query operator
#1536
samwillis
merged 21 commits into
main
TanStack/db:main
from
case-when
TanStack/db:case-when
Copy head branch name to clipboard
Commits
Commits on May 17, 2026
docs: add caseWhen operator plan
Show description for f28393a
samwillis
and
cursoragent
committed
f28393a
View commit details
Copy full SHA for f28393a
Browse repository at this point
docs: decouple caseWhen plan from multi-source from
Show description for 2f3bb41
samwillis
and
cursoragent
committed
2f3bb41
View commit details
Copy full SHA for 2f3bb41
Browse repository at this point
feat(db): add caseWhen query operator
Show description for 2fc10bd
samwillis
and
cursoragent
committed
2fc10bd
View commit details
Copy full SHA for 2fc10bd
Browse repository at this point
feat(db): support guarded includes in caseWhen
Show description for 54f33d1
samwillis
and
cursoragent
committed
54f33d1
View commit details
Copy full SHA for 54f33d1
Browse repository at this point
test(db): cover caseWhen plan gaps
Show description for b6f3666
samwillis
and
cursoragent
committed
b6f3666
View commit details
Copy full SHA for b6f3666
Browse repository at this point
fix(db): complete caseWhen plan coverage
Show description for be5f3c7
samwillis
and
cursoragent
committed
be5f3c7
View commit details
Copy full SHA for be5f3c7
Browse repository at this point
test(db): assert caseWhen literal inference
Show description for 1aa57b2
samwillis
and
cursoragent
committed
1aa57b2
View commit details
Copy full SHA for 1aa57b2
Browse repository at this point
test(db): update caseWhen type assertions
Show description for eaa6431
samwillis
and
cursoragent
committed
eaa6431
View commit details
Copy full SHA for eaa6431
Browse repository at this point
test(db): cover caseWhen collection includes
Show description for b346153
samwillis
and
cursoragent
committed
b346153
View commit details
Copy full SHA for b346153
Browse repository at this point
test(db): cover caseWhen expression gaps
Show description for e273d02
samwillis
and
cursoragent
committed
e273d02
View commit details
Copy full SHA for e273d02
Browse repository at this point
docs(db): move caseWhen plan out of branch
Show description for f05b9d1
samwillis
and
cursoragent
committed
f05b9d1
View commit details
Copy full SHA for f05b9d1
Browse repository at this point
Commits on May 18, 2026
ci: apply automated fixes
autofix-ci[bot]
authored
17564a4
View commit details
Copy full SHA for 17564a4
Browse repository at this point
fix(db): address caseWhen review feedback
Show description for 5812d9d
samwillis
and
cursoragent
committed
5812d9d
View commit details
Copy full SHA for 5812d9d
Browse repository at this point
ci: apply automated fixes
autofix-ci[bot]
authored
901eb6e
View commit details
Copy full SHA for 901eb6e
Browse repository at this point
Commits on May 19, 2026
refactor(db): share caseWhen condition truthiness
Show description for a5b4038
samwillis
and
cursoragent
committed
a5b4038
View commit details
Copy full SHA for a5b4038
Browse repository at this point
refactor(db): limit caseWhen overloads
Show description for 7ce5c2c
samwillis
and
cursoragent
committed
7ce5c2c
View commit details
Copy full SHA for 7ce5c2c
Browse repository at this point
fix(db): harden conditional select compilation
Show description for af13048
samwillis
and
cursoragent
committed
af13048
View commit details
Copy full SHA for af13048
Browse repository at this point
fix(db): resolve grouped caseWhen refs
Show description for d773b66
samwillis
and
cursoragent
committed
d773b66
View commit details
Copy full SHA for d773b66
Browse repository at this point
refactor(db): add broad caseWhen overload fallback
Show description for 42ea9e7
samwillis
and
cursoragent
committed
42ea9e7
View commit details
Copy full SHA for 42ea9e7
Browse repository at this point
ci: apply automated fixes
autofix-ci[bot]
authored
c3ff562
View commit details
Copy full SHA for c3ff562
Browse repository at this point
fix(db): tighten caseWhen expression detection
Show description for a746f73
samwillis
and
cursoragent
committed
a746f73
View commit details
Copy full SHA for a746f73
Browse repository at this point
You can’t perform that action at this time.