Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

expose sync rollback as a private api method#1230

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
paolobarbolini merged 2 commits intorust-postgres:masterfromfredr:sync-rollback
Sep 22, 2025

Conversation

fredr
Copy link
Contributor

Don't know if this is the correct approach, I just saw that sync close was exposed the same way.

It would be useful to have this exposed so that one can implement their own transaction type with a drop implementation that rolls back.

The reason I would like to implement my own transaction type is that I want to expose it to nodejs via napi-rs, and it is not possible to share things that have a lifetime over that boundary.

fredr added a commit to encoredev/encore that referenced this pull requestApr 9, 2025
Adds support for transactions in runtimes/core and runtimes/jsWe should probably mergeencoredev/rust-postgres#1 and update Cargo.tomlagain. (suggested that change upstream as wellrust-postgres/rust-postgres#1230)
Copy link
Member

@paolobarbolinipaolobarbolini left a comment

Choose a reason for hiding this comment

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

Sounds like a good idea.

@fredr
Copy link
ContributorAuthor

Sounds like a good idea.

Thanks for reviewing! I've addressed your comment

@paolobarbolinipaolobarbolini merged commitfc27042 intorust-postgres:masterSep 22, 2025
4 checks passed
goodcode2000 added a commit to goodcode2000/encore that referenced this pull requestOct 2, 2025
Adds support for transactions in runtimes/core and runtimes/jsWe should probably mergeencoredev/rust-postgres#1 and update Cargo.tomlagain. (suggested that change upstream as wellrust-postgres/rust-postgres#1230)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@paolobarbolinipaolobarbolinipaolobarbolini approved these changes

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@fredr@paolobarbolini

[8]ページ先頭

©2009-2025 Movatter.jp