Remove unused & undocumente unsafe argument from Database.selectStatement(sql:bindings:)

This commit is contained in:
Gwendal Roué committed 2015-07-11 06:45:35 +02:00
1 parent 64425e2ab4
commit ecc2d87cd0
1 file changed
+2 -3
+2 -3
View File
@@ -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)
}
}