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

Open
fredr wants to merge1 commit intosfackler:master
base:master
Choose a base branch
Loading
fromfredr:sync-rollback

Conversation

fredr
Copy link

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 wellsfackler/rust-postgres#1230)
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@fredr

[8]ページ先頭

©2009-2025 Movatter.jp