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

Access Database Connection From Handler #627

Open
kraftp opened this issue Sep 23, 2024 · 0 comments
Open

Access Database Connection From Handler #627

kraftp opened this issue Sep 23, 2024 · 0 comments

Comments

@kraftp
Copy link
Contributor

kraftp commented Sep 23, 2024

From jansommer on Discord:

I've asked in ⁠Custom connection to Postgres why I have to decorate calls to pg with @transaction. Would be nice to access the client from a HandlerContext when I'm doing things a @transaction cant handle, where a stored procedure is overkill, and where I'd like to do more such as starting a workflow (the response from signup is needed, while the email can be sent in the background)

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

No branches or pull requests

1 participant