Skip to content

document RETURN NEXT and RETURN QUERY #19589

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

taroface
Copy link
Contributor

@taroface taroface commented May 7, 2025

@taroface taroface requested a review from DrewKimball May 7, 2025 20:11
Copy link

github-actions bot commented May 7, 2025

Files changed:

Copy link

netlify bot commented May 7, 2025

Deploy Preview for cockroachdb-api-docs canceled.

Name Link
🔨 Latest commit ab53a70
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-api-docs/deploys/681bbe79c56d0500083a36be

Copy link

netlify bot commented May 7, 2025

Deploy Preview for cockroachdb-interactivetutorials-docs canceled.

Name Link
🔨 Latest commit ab53a70
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-interactivetutorials-docs/deploys/681bbe79aa8b4100088ca7b0

Copy link

netlify bot commented May 7, 2025

Netlify Preview

Name Link
🔨 Latest commit ab53a70
🔍 Latest deploy log https://app.netlify.com/sites/cockroachdb-docs/deploys/681bbe790434180008a5544b
😎 Deploy Preview https://deploy-preview-19589--cockroachdb-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

@DrewKimball DrewKimball left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@@ -351,6 +351,42 @@ BEGIN
RETURN;
~~~

#### `RETURN NEXT` and `RETURN QUERY`

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We might want to add something to the RETURN section above about set-returning functions, since RETURN with no parameters serves a similar function there. Are we also missing some docs about using RETURN with parameters for scalar functions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants