Skip to content

Support transaction savepoint and rollbacks #2938

Closed

Description

@SandPod

Is your feature request related to a problem? Please describe.
Database transactions support adding and releasing savepoints and rolling back to these savepoints.

Savepoint documentation for postgres here: https://www.postgresql.org/docs/current/sql-savepoint.html
Release savepoint documentation for postgres here: https://www.postgresql.org/docs/current/sql-release-savepoint.html
Rollback documentation for postgres here: https://www.postgresql.org/docs/current/sql-rollback-to.html

Describe the solution you'd like
Serverpod should provide a typed interface for adding savepoints and rolling back during a transaction.

Activity

  1. added
    area: database
    on Nov 5, 2024
  2. moved this to Later 🥳 in Serverpod Frameworkson Nov 5, 2024
  3. hampuslavin commented on Nov 5, 2024

    @hampuslavin
    Contributor
  4. SandPod commented on Nov 6, 2024

    @SandPod
    ContributorAuthor

    Releasing save points should probably also be part of this task: https://www.postgresql.org/docs/current/sql-release-savepoint.html

    Good point, updated the issue!

  5. moved this from Later 🥳 to Now 🔥 in Serverpod Frameworkson Nov 8, 2024
  6. self-assigned this
    on Nov 8, 2024
  7. moved this from Now 🔥 to Done 🚀 in Serverpod Frameworkson Nov 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area: database

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions