SwiftclassMediaML

class MediaML.SQLiteDB.Transaction

Members 8

  1. deinitdeinit
  2. fieldlet db: MediaML.SQLiteDB+0x10
  3. fieldvar finalized: Bool+0x18
  4. funcchanges() -> Int64
  5. funccommit() throws -> ()
  6. funcrollback() throws -> ()
  7. funcwithStatement<A where A: Sendable>(sql: String, handler: @Sendable (MediaML.SQLiteDB.Statement) throws -> A) throws -> A
  8. initMediaML.SQLiteDB.Transaction.__allocating_init(MediaML.SQLiteDB) -> MediaML.SQLiteDB.Transaction
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
}