File tree 1 file changed +3
-3
lines changed
Sources/FluentSQLiteDriver
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ struct _FluentSQLiteDatabase {
8
8
extension _FluentSQLiteDatabase : Database {
9
9
func execute(
10
10
query: DatabaseQuery ,
11
- onRow : @escaping ( DatabaseOutput ) -> ( )
11
+ onOutput : @escaping ( DatabaseOutput ) -> ( )
12
12
) -> EventLoopFuture < Void > {
13
13
let sql = SQLQueryConverter ( delegate: SQLiteConverterDelegate ( ) ) . convert ( query)
14
14
let ( string, binds) = self . serialize ( sql)
@@ -23,7 +23,7 @@ extension _FluentSQLiteDatabase: Database {
23
23
return self . database. withConnection { connection in
24
24
connection. logging ( to: self . logger)
25
25
. query ( string, data) { row in
26
- onRow ( row)
26
+ onOutput ( row)
27
27
}
28
28
. flatMap {
29
29
switch query. action {
@@ -33,7 +33,7 @@ extension _FluentSQLiteDatabase: Database {
33
33
lastAutoincrementID: $0,
34
34
customIDKey: query. customIDKey
35
35
)
36
- onRow ( row)
36
+ onOutput ( row)
37
37
}
38
38
default :
39
39
return self . eventLoop. makeSucceededFuture ( ( ) )
You can’t perform that action at this time.
0 commit comments