mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-30 04:28:44 +00:00
README.md: fix DatabaseValue description
This commit is contained in:
1 parent
d9ce97f0cf
commit
eacd3e9ddf
1 file changed
+1
-1
@@ -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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user