This commit is contained in:
Gwendal Roué committed 2015-12-14 08:06:21 +01:00
1 parent b00fcb2476
commit ce3cee68ec
6 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ extension NSData : DatabaseValueConvertible {
}
public static func fromRow(row: Row) -> Self {
// TOOD: test
// TODO: test
guard let data = fromDatabaseValue(row.databaseValues.first!) else {
fatalError("Could not convert \(row.databaseValues.first!) to NSData.")
}
+1 -1
View File
@@ -70,7 +70,7 @@ extension NSDate : DatabaseValueConvertible {
}
public static func fromRow(row: Row) -> Self {
// TOOD: test
// TODO: test
guard let date = fromDatabaseValue(row.databaseValues.first!) else {
fatalError("Could not convert \(row.databaseValues.first!) to NSDate.")
}
+1 -1
View File
@@ -14,7 +14,7 @@ extension NSNull: DatabaseValueConvertible {
}
public static func fromRow(row: Row) -> Self {
// TOOD: test
// TODO: test
fatalError("Could not convert \(row.databaseValues.first!) to NSNull.")
}
}
+1 -1
View File
@@ -54,7 +54,7 @@ extension NSNumber: DatabaseValueConvertible {
}
public static func fromRow(row: Row) -> Self {
// TOOD: test
// TODO: test
guard let number = fromDatabaseValue(row.databaseValues.first!) else {
fatalError("Could not convert \(row.databaseValues.first!) to NSNumber.")
}
+1 -1
View File
@@ -20,7 +20,7 @@ extension NSString: DatabaseValueConvertible {
}
public static func fromRow(row: Row) -> Self {
// TOOD: test
// TODO: test
guard let string = fromDatabaseValue(row.databaseValues.first!) else {
fatalError("Could not convert \(row.databaseValues.first!) to NSString.")
}
+1 -1
View File
@@ -21,7 +21,7 @@ extension NSURL : DatabaseValueConvertible {
}
public static func fromRow(row: Row) -> Self {
// TOOD: test
// TODO: test
guard let url = fromDatabaseValue(row.databaseValues.first!) else {
fatalError("Could not convert \(row.databaseValues.first!) to NSURL.")
}