Skip to content

Commit 739220d

Browse files
committed
schema
1 parent a17ea47 commit 739220d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Sources/FluentSQLiteDriver/FluentSQLiteDatabase.swift

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ struct _FluentSQLiteDatabase {
88
extension _FluentSQLiteDatabase: Database {
99
func execute(
1010
query: DatabaseQuery,
11-
onRow: @escaping (DatabaseOutput) -> ()
11+
onOutput: @escaping (DatabaseOutput) -> ()
1212
) -> EventLoopFuture<Void> {
1313
let sql = SQLQueryConverter(delegate: SQLiteConverterDelegate()).convert(query)
1414
let (string, binds) = self.serialize(sql)
@@ -23,7 +23,7 @@ extension _FluentSQLiteDatabase: Database {
2323
return self.database.withConnection { connection in
2424
connection.logging(to: self.logger)
2525
.query(string, data) { row in
26-
onRow(row)
26+
onOutput(row)
2727
}
2828
.flatMap {
2929
switch query.action {
@@ -33,7 +33,7 @@ extension _FluentSQLiteDatabase: Database {
3333
lastAutoincrementID: $0,
3434
customIDKey: query.customIDKey
3535
)
36-
onRow(row)
36+
onOutput(row)
3737
}
3838
default:
3939
return self.eventLoop.makeSucceededFuture(())

0 commit comments

Comments
 (0)