mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-24 04:07:47 +00:00
Remove dead code
This commit is contained in:
1 parent
034a24dfe3
commit
e037972dbb
4 files changed
+75
-99
No files matched your search
@@ -26,7 +26,7 @@ extension QueryInterfaceRequest : FetchRequest {
|
||||
public func prepare(db: Database) throws -> (SelectStatement, RowAdapter?) {
|
||||
// TODO: split statement generation from arguments building
|
||||
var arguments: StatementArguments? = StatementArguments()
|
||||
let sql = try query.sql(db, &arguments)
|
||||
let sql = try query.sql(&arguments)
|
||||
let statement = try db.selectStatement(sql)
|
||||
try statement.setArgumentsWithValidation(arguments!)
|
||||
return (statement, nil)
|
||||
|
||||
Reference in new issue
Block a user