Skip to content

feat: expose new workspace function splitStatements with ranges#730

Merged
psteinroe merged 3 commits intosupabase-community:mainfrom
lneves12:lneves/expose_split_statements
Apr 11, 2026
Merged

feat: expose new workspace function splitStatements with ranges#730
psteinroe merged 3 commits intosupabase-community:mainfrom
lneves12:lneves/expose_split_statements

Conversation

@lneves12
Copy link
Copy Markdown
Contributor

@lneves12 lneves12 commented Apr 6, 2026

What kind of change does this PR introduce?

Exposes new workspace function splitStatements with ranges

Additional context

It can be useful for custom postgres logic to expose this functionality, specially with ranges

Copy link
Copy Markdown
Collaborator

@psteinroe psteinroe left a comment

Choose a reason for hiding this comment

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

a small nit, rest lgtm!

can you share more about the intended use case?

@lneves12 lneves12 force-pushed the lneves/expose_split_statements branch from 61a7006 to f5832d3 Compare April 8, 2026 15:59
@lneves12
Copy link
Copy Markdown
Contributor Author

lneves12 commented Apr 8, 2026

@psteinroe Thank you for your review!

can you share more about the intended use case?

The use case is simple. I am building a SQL editor with support for postgres, so having this method exposed is quite useful to support running multiple queries at once or running only a set of queries (for instance the current query at cursor)

@psteinroe psteinroe self-requested a review April 10, 2026 16:44
Copy link
Copy Markdown
Collaborator

@psteinroe psteinroe left a comment

Choose a reason for hiding this comment

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

thanks for the contribution!

@psteinroe psteinroe merged commit 178aa3c into supabase-community:main Apr 11, 2026
9 checks passed
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