mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
Remove unused & undocumente unsafe argument from Database.selectStatement(sql:bindings:)
This commit is contained in:
1 parent
64425e2ab4
commit
ecc2d87cd0
1 file changed
+2
-3
+2
-3
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user