From 9c9f715c617fbd80c75fa42e5aa40b4112a51668 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Thu, 16 Jul 2015 08:56:28 +0200 Subject: [PATCH] Remove unused Row initializer --- GRDB/Row.swift | 21 --------------------- 1 file changed, 21 deletions(-) diff --git a/GRDB/Row.swift b/GRDB/Row.swift index e58357bfb..71b8244fa 100644 --- a/GRDB/Row.swift +++ b/GRDB/Row.swift @@ -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.