mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-29 04:24:21 +00:00
Remove unused Row initializer
This commit is contained in:
1 parent
7229b931ab
commit
9c9f715c61
1 file changed
-21
@@ -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.
|
||||
|
||||
|
||||
Reference in new issue
Block a user