Skip to content

Add api to support high level transaction #319

@pardeike

Description

@pardeike

Is your feature request related to a problem? Please describe.
Having a simple Swift API to run multiple sql statements/actions in a transaction would be nice. I write micro services that interact with MySQL without any user requests and sending raw commands isn’t great.

Describe the solution you'd like
Something in the line of

conn.withTransaction {  }
//or
db.transaction { conn in  }

would be nice.

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