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

feat(db-*): conditional return types #11440

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jacobsfletch
Copy link
Member

Adds conditional return types to all db operations that support the returning property introduced in #11393. This property is used to early return out of the operations if no result is needed, bypassing additional database queries. However, it had no effect on the return types, which are void if true. Uses function overloads to achieve this.

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

Successfully merging this pull request may close these issues.

1 participant