mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
API diff
This commit is contained in:
1 parent
6062beb9f4
commit
2e84e11bfa
1 file changed
+2
-8
+2
-8
@@ -305,14 +305,8 @@ GRDB adheres to [Semantic Versioning](https://semver.org/), with one expection:
|
||||
+ func databaseChanges<Record: EncodableRecord>(from record: Record) -> [String: DatabaseValue]
|
||||
+}
|
||||
|
||||
-protocol MutablePersistableRecord: TableRecord {
|
||||
+protocol MutablePersistableRecord: EncodableRecord, TableRecord {
|
||||
- func encode(to container: inout PersistenceContainer)
|
||||
- static var databaseEncodingUserInfo: [CodingUserInfoKey: Any] { get }
|
||||
- static func databaseJSONEncoder(for column: String) -> JSONEncoder
|
||||
- static var databaseDateEncodingStrategy: DatabaseDateEncodingStrategy { get }
|
||||
- static var databaseUUIDEncodingStrategy: DatabaseUUIDEncodingStrategy { get }
|
||||
}
|
||||
-protocol MutablePersistableRecord: TableRecord { }
|
||||
+protocol MutablePersistableRecord: EncodableRecord, TableRecord { }
|
||||
```
|
||||
|
||||
</details>
|
||||
|
||||
Reference in new issue
Block a user