Protocols
The following protocols are available globally.
-
This protocol describes a handle to a database.
This is implemented by both our real database connections and our in-memory database connection for testing.
See moreDeclaration
Swift
public protocol DatabaseConnection
-
This protocol allows a type to provide a custom scheme for encoding it in the database.
See moreDeclaration
Swift
public protocol DatabaseValueConvertible
-
This protocol describes a transaction that is occurring on a database.
See moreDeclaration
Swift
public protocol Transaction