SwiftprotocolPoirotSQLite

protocol PoirotSQLite.SQLiteAggregateUDF

Members 6

  1. associatedtypeassociatedtype AggregateContext
  2. funcmethod descriptor for finalize(context: A.AggregateContext?, sqliteContext: PoirotSQLite.SQLiteContext) throws -> ()
  3. funcperform(with: PoirotSQLite.SQLiteContext, arguments: [PoirotSQLite.SQLiteArgument]) throws -> ()
  4. funcregister(with: PoirotSQLite.SQLiteDatabase) throws -> ()
  5. funcmethod descriptor for step(context: inout A.AggregateContext?, arguments: [PoirotSQLite.SQLiteArgument]) throws -> ()
  6. funcunregister(with: PoirotSQLite.SQLiteDatabase) throws -> ()
protocol SQLiteAggregateUDF: PoirotSQLite.SQLiteSingleValueUDF where Self.AggregateContext: AnyObject {
    associatedtype AggregateContext

    func step(context: inout Self.AggregateContext?, arguments: [PoirotSQLite.SQLiteArgument]) throws
    func finalize(context: Self.AggregateContext?, sqliteContext: PoirotSQLite.SQLiteContext) throws
}
extension PoirotSQLite.SQLiteAggregateUDF {
    func unregister(with: PoirotSQLite.SQLiteDatabase) throws
    func perform(with: PoirotSQLite.SQLiteContext, arguments: [PoirotSQLite.SQLiteArgument]) throws
    func register(with: PoirotSQLite.SQLiteDatabase) throws
}