Skip to content

Feature request: atomic update operations #2561

Description

@zd4y

It would be nice to have something similar to this sql: UPDATE balancesEntity SET balance = balance + delta.

This would allow me to have a cached balance entity (instead of fetching a full list of transactions and calculating the balance each time) while avoiding race conditions

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions