Remove unused Row initializer

This commit is contained in:
Gwendal Roué committed 2015-07-16 08:56:28 +02:00
1 parent 7229b931ab
commit 9c9f715c61
1 file changed
-21
-21
View File
@@ -233,27 +233,6 @@ public struct Row: CollectionType {
self.impl = DictionaryRowImpl(databaseDictionary: databaseDictionary)
}
/**
Builds a row from an dictionary of database values.
let dic = [
"name": .Text("Arthur"),
"booksCount": .Integer(0)]
let row = Row(databaseDictionary: dic)
- parameter databaseDictionary: A dictionary of DatabaseValue.
*/
init(databaseDictionary: [String: DatabaseValue]) {
// IMPLEMENTATION NODE
//
// This initializer is used by RowModel.insert() so that it can call
// RowModel.updateFromDatabaseRow() to set the ID after the insertion.
//
// It is made public because it is important to let the user experiment
// with rows and models.
self.impl = DictionaryRowImpl(databaseDictionary: databaseDictionary)
}
/**
Builds a row from the *current state* of the SQLite statement.