From ecc2d87cd0fca180f962166967e9bbeae3efb127 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gwendal=20Roue=CC=81?= Date: Sat, 11 Jul 2015 06:45:35 +0200 Subject: [PATCH] Remove unused & undocumente `unsafe` argument from Database.selectStatement(sql:bindings:) --- GRDB/Database.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/GRDB/Database.swift b/GRDB/Database.swift index 22caf3f33..aeab05e8a 100644 --- a/GRDB/Database.swift +++ b/GRDB/Database.swift @@ -50,13 +50,12 @@ public final class Database { - parameter sql: An SQL query. - parameter bindings: Optional bindings for query parameters. - - parameter unsafe: TODO. - returns: A SelectStatement. */ - public func selectStatement(sql: String, bindings: Bindings? = nil, unsafe: Bool = false) -> SelectStatement { + public func selectStatement(sql: String, bindings: Bindings? = nil) -> SelectStatement { return verboseFailOnError { - return try SelectStatement(database: self, sql: sql, bindings: bindings, unsafe: unsafe) + return try SelectStatement(database: self, sql: sql, bindings: bindings, unsafe: false) } }