File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -216,7 +216,7 @@ public final class Connection {
216
216
/// - Throws: `Result.Error` if query execution fails.
217
217
///
218
218
/// - Returns: The statement.
219
- public func run( _ statement: String , _ bindings: Binding ? ... ) throws -> Statement {
219
+ @ discardableResult public func run( _ statement: String , _ bindings: Binding ? ... ) throws -> Statement {
220
220
return try run ( statement, bindings)
221
221
}
222
222
@@ -231,7 +231,7 @@ public final class Connection {
231
231
/// - Throws: `Result.Error` if query execution fails.
232
232
///
233
233
/// - Returns: The statement.
234
- public func run( _ statement: String , _ bindings: [ Binding ? ] ) throws -> Statement {
234
+ @ discardableResult public func run( _ statement: String , _ bindings: [ Binding ? ] ) throws -> Statement {
235
235
return try prepare ( statement) . run ( bindings)
236
236
}
237
237
@@ -246,7 +246,7 @@ public final class Connection {
246
246
/// - Throws: `Result.Error` if query execution fails.
247
247
///
248
248
/// - Returns: The statement.
249
- public func run( _ statement: String , _ bindings: [ String : Binding ? ] ) throws -> Statement {
249
+ @ discardableResult public func run( _ statement: String , _ bindings: [ String : Binding ? ] ) throws -> Statement {
250
250
return try prepare ( statement) . run ( bindings)
251
251
}
252
252
You can’t perform that action at this time.
0 commit comments