Protocol
MySQLDatabase
protocol MySQLDatabase
Topics
Instance Properties
Instance Methods
func logging(to: Logger) -> any MySQLDatabasefunc query(String, [MySQLData], onMetadata: (MySQLQueryMetadata) throws -> ()) -> EventLoopFuture<[MySQLRow]>func query(String, [MySQLData], onRow: (MySQLRow) throws -> (), onMetadata: (MySQLQueryMetadata) throws -> ()) -> EventLoopFuture<Void>func send(any MySQLCommand, logger: Logger) -> EventLoopFuture<Void>func simpleQuery(String) -> EventLoopFuture<[MySQLRow]>func simpleQuery(String, onRow: (MySQLRow) -> ()) -> EventLoopFuture<Void>func withConnection<T>((MySQLConnection) -> EventLoopFuture<T>) -> EventLoopFuture<T>