Skip to content

Protocol

TransactionControlDatabase

Protocol for describing a database that allows fine-grained control over transcactions when you need more control than provided by Database/transaction(_:)-1x3ds
protocol TransactionControlDatabase : Database

Overview

Warning

⚠️ It is the developer’s responsiblity to get hold of a Database, execute the transaction functions on that connection, and ensure that the functions aren’t called across different conenctions. You are also responsible for ensuring that you commit or rollback queries when you’re ready.

Do not mix these functions and Database/transaction(_:)-1x3ds.

Topics

Instance Methods

Relationships

Inherits From

  • Database
  • Swift.Sendable
  • Swift.SendableMetatype