mirror of
https://github.com/groue/GRDB.swift
synced 2026-11-25 04:07:47 +00:00
Remove dead code
This commit is contained in:
1 parent
e037972dbb
commit
c6f2c8a3f5
2 files changed
+3
-3
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(&arguments)
|
||||
let sql = query.sql(&arguments)
|
||||
let statement = try db.selectStatement(sql)
|
||||
try statement.setArgumentsWithValidation(arguments!)
|
||||
return (statement, nil)
|
||||
|
||||
Reference in new issue
Block a user