Instance Method (Default implementation)grdb 7.3.0GRDB
encode(to:)
Encodes the record into the provided persistence container, using the Encodable
conformance.
func encode(to container: inout PersistenceContainer) throws
Encodes the record into the provided persistence container, using the Encodable
conformance.
func encode(to container: inout PersistenceContainer) throws
s4GRDB15EncodableRecordPAASERzrlE6encode2toyAA20PersistenceContainerVz_tKF
What are these?1MRT
where Self:Encodable
import GRDB
A toolkit for SQLite databases, with a focus on application development
protocol EncodableRecord
A type that can encode itself in a database row.
struct PersistenceContainer
A container for database values to store in a database row.
protocol Encodable
A type that can encode itself to an external representation.
func encode(to container: inout PersistenceContainer) throws
Encodes the record into the provided persistence container.