Skip to content

High level transaction support? #96

@pardeike

Description

@pardeike

My government organisation is switching to Swift backend micro services. We rather have as few dependencies as possible and I am really missing a way to execute multiple statements in a transaction. I guess it's kind of possible to hack that in but with many in-house developers it should rather be obvious (and documented) to do so. I am either missing that it's there or really would like to have this implemented in an intuitive to use feature.

Describe the solution you'd like
Ultimately a way to execute statements inside a closure that is provided by a transaction api is what I am wishing for.

Add rollback on throwing and it becomes pretty simply to use. Of course this is just a high level wish and probably requires more - for example a way to turn off automatic transactions in a nice way without using raw sql.

/pardeike

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions