Skip to content
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

Add support for function arguments #2509

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Conversation

hgschmie
Copy link
Contributor

@hgschmie hgschmie commented Oct 6, 2023

Similar to Consumer<...> arguments, a function argument consumes the
results of a SQL query. The return value from applying the function is
returned by the SQL object method. This is especially useful for
collecting and managing streaming data as the function is called while
the database connection is live.

@hgschmie hgschmie changed the title wip Add support for function arguments Oct 6, 2023
@hgschmie hgschmie marked this pull request as ready for review October 6, 2023 16:15
Similar to `Consumer<...>` arguments, a function argument consumes the
results of a SQL query. The return value from applying the function is
returned by the SQL object method. This is especially useful for
collecting and managing streaming data as the function is called while
the database connection is live.

Addresses jdbi#2326
@sonarcloud
Copy link

sonarcloud bot commented Oct 7, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@hgschmie hgschmie merged commit 270d158 into jdbi:master Oct 13, 2023
42 checks passed
@hgschmie hgschmie deleted the function-arguments branch October 13, 2023 21:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants