From 7610eebb3f9fb3caec6caba4c992f91a484d061b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 25 Aug 2018 12:19:16 +0200 Subject: [PATCH] Enhance Codable Record documentatoin --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e511f59a8..a229a59db 100644 --- a/README.md +++ b/README.md @@ -2631,7 +2631,7 @@ try dbQueue.write { db in Codable records encode and decode their properties according to their own implementation of the Encodable and Decodable protocols. Yet databases have specific requirements: -- A property prefers its database representation when it has one (all [values](#values) that adopt the [DatabaseValueConvertible](#custom-value-types) protocol). +- Properties are always coded according to their preferred database representation, when they have one (all [values](#values) that adopt the [DatabaseValueConvertible](#custom-value-types) protocol). - You can customize the encoding and decoding of dates and uuids. - Complex properties (arrays, dictionaries, nested structs, etc.) are stored as JSON.