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

sqlite transaction behaviors #851

Closed
wants to merge 1 commit into from
Closed

sqlite transaction behaviors #851

wants to merge 1 commit into from

Conversation

markazmierczak
Copy link
Contributor

No description provided.

@mehcode
Copy link
Member

mehcode commented Nov 25, 2020

I like the idea of doing this, but unfortunately we don't want to accept extensions to the API surface for 0.4. I'm happy to discuss how this can be done in an issue for 0.5 though.


This is the kind of API I'm currently thinking:

// BEGIN IMMEDIATE
conn.transaction().immediate().begin(&mut conn).await?;

// BEGIN
conn.begin().await?;
conn.transaction().deferred().begin(&mut conn).await?;

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

Successfully merging this pull request may close these issues.

2 participants