Protocols
The following protocols are available globally.
-
A delegate for
See moreConnection
instances.Declaration
Swift
public protocol ConnectionDelegate : AnyObject
-
An endpoint for log records.
If a
Logger
determines aLogRecord
should 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 also
ConsoleLogHandler
Declaration
Swift
public protocol LogHandler
-
A type whose instances can be the values of parameters in executing a
Statement
.The following types conform to
PostgresValueConvertible
:Bool
Decimal
Double
Int
PostgresByteA
PostgresDate
PostgresTime
PostgresTimeWithTimeZone
PostgresTimestamp
PostgresTimestampWithTimeZone
PostgresValue
String
Declaration
Swift
public protocol PostgresValueConvertible