Skip to content

Conditional subqueries with WHEN in CALL, EXISTS, COUNT and COLLECT - #1813

Draft
imilinovic wants to merge 4 commits into
release/3.14from
docs/conditional-call-when
Draft

imilinovic wants to merge 4 commits into
release/3.14from
docs/conditional-call-when

Conversation

@imilinovic

Copy link
Copy Markdown
Contributor

Release note

Added conditional subqueries: CALL (...) { WHEN p THEN body [WHEN ...] [ELSE body] } runs, per row, the first branch whose predicate is true. The same WHEN branches can form the body of EXISTS { }, COUNT { } and COLLECT { }.

Related product PRs

PRs from product repo this doc page is related to:

Checklist:

  • Add appropriate milestone (current release cycle)
  • Add bugfix or feature label, based on the product PR type you're documenting
  • Make sure all relevant tech details are documented
  • Check all content with Grammarly
  • Perform a self-review of my code
  • The build passes locally
  • My changes generate no new warnings or errors

@imilinovic imilinovic added this to the 3.14 milestone Oct 6, 2026
@imilinovic imilinovic added the feature Documentation related to a new product feature of feature update label Oct 6, 2026
@imilinovic imilinovic self-assigned this Oct 6, 2026
@vercel

vercel Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
documentation Ready Ready Preview Oct 6, 2026 7:00pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — 0c4424a7 Deployed Oct 6, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feature Documentation related to a new product feature of feature update

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant