Protocols
The following protocols are available globally.
-
A delegate for
See moreConnectioninstances.Declaration
Swift
public protocol ConnectionDelegate : AnyObject -
An endpoint for log records.
If a
Loggerdetermines aLogRecordshould be logged, that log record is dispatched to the logger’s current log handler.A log handler might print the log record on the console, write it to a log file, forward it to an external logging system, or otherwise process the log record.
See moreSee also
ConsoleLogHandlerDeclaration
Swift
public protocol LogHandler -
A type whose instances can be the values of parameters in executing a
Statement.The following types conform to
PostgresValueConvertible:BoolDecimalDoubleIntPostgresByteAPostgresDatePostgresTimePostgresTimeWithTimeZonePostgresTimestampPostgresTimestampWithTimeZonePostgresValueString
Declaration
Swift
public protocol PostgresValueConvertible