From eacd3e9ddfe0acc29ef4c41daf315ddc0b13f8c3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Thu, 24 Sep 2015 05:02:21 +0200 Subject: [PATCH] README.md: fix DatabaseValue description --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 7ac6064be..ab0e533ff 100644 --- a/README.md +++ b/README.md @@ -585,7 +585,7 @@ public protocol DatabaseValueConvertible { All types that adopt this protocol can be used wherever the built-in types `Int`, `String`, etc. are used. without any limitation or caveat. Those built-in types actually adopt it. -The `databaseValue` property returns [DatabaseValue](GRDB/Core/DatabaseValue.swift), an enum for the five types supported by SQLite: NULL, integer, real, string and blob. +The `databaseValue` property returns [DatabaseValue](GRDB/Core/DatabaseValue.swift), a type that wraps the five types supported by SQLite: NULL, Int64, Double, String and Blob. The `fromDatabaseValue()` factory method returns an instance of your custom type, if the databaseValue contains a suitable value.