NSURL
extension NSURL: DatabaseValueConvertible
NSURL stores its absoluteString in the database.
-
Returns a value that can be stored in the database. (the URL’s absoluteString).
Declaration
Swift
public var databaseValue: DatabaseValue { get }
-
Returns an NSURL initialized from dbValue, if possible.
Declaration
Swift
public static func fromDatabaseValue(_ dbValue: DatabaseValue) -> `Self`?