SwiftclassMediaML
class MediaML.SQLiteDB.Transaction
Members 8
- deinit
deinit - field
let db: MediaML.SQLiteDB+0x10 - field
var finalized: Bool+0x18 - func
changes() -> Int64 - func
commit() throws -> () - func
rollback() throws -> () - func
withStatement<A where A: Sendable>(sql: String, handler: @Sendable (MediaML.SQLiteDB.Statement) throws -> A) throws -> A - init
MediaML.SQLiteDB.Transaction.__allocating_init(MediaML.SQLiteDB) -> MediaML.SQLiteDB.Transaction
Header
class MediaML.SQLiteDB.Transaction { let db: MediaML.SQLiteDB var finalized: Swift.Bool init(_: MediaML.SQLiteDB) func withStatement<A>(sql: Swift.String, handler: @escaping @Sendable (_: MediaML.SQLiteDB.Statement) throws -> A) throws -> A where A: Swift.Sendable func changes() -> Swift.Int64 func commit() throws func rollback() throws deinit }