SwiftstructGeoServices

struct GeoServices.SQLite.Transaction

Members 5

  1. fieldvar postCommitActions: [@Sendable () -> ()]+0x8
  2. fieldlet state: GeoServices.SQLite.State+0x0
  3. funcadd(postCommitAction: @Sendable () -> ()) -> ()
  4. funcexecute(String) throws -> ()
  5. funcwithStatement<A>(GeoServices.SQLite.PreparedStatement, (__owned GeoServices.SQLite.Statement) throws -> A) throws -> A
struct GeoServices.SQLite.Transaction: ~Swift.Copyable {
    let state: GeoServices.SQLite.State
    var postCommitActions: [@Sendable () -> ()]

    func withStatement<A>(_: any GeoServices.SQLite.PreparedStatement, _: (_: consuming GeoServices.SQLite.Statement) throws -> A) throws -> A
    func add(postCommitAction: @escaping @Sendable () -> ())
    func execute(_: Swift.String) throws
}