We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0e56f73 commit fd04099Copy full SHA for fd04099
CHANGELOG.md
@@ -1,5 +1,12 @@
1
# SwiftSQL 0.x
2
3
+## SwiftSQL 0.2.0
4
+
5
+*May 14, 2020*
6
7
+- `SQLStatement.execute()` now returns a statement so that you could chain it with `column(at:)` and other calls.
8
9
10
## SwiftSQL 0.1.0
11
12
*May 13, 2020*
Sources/SwiftSQL/SQLStatement.swift
@@ -84,8 +84,9 @@ public final class SQLStatement {
84
///
85
/// - note: See [SQLite: Result and Error Codes](https://www.sqlite.org/rescode.html)
86
/// for more information.
87
- public func execute() throws {
+ public func execute() throws -> SQLStatement {
88
try isOK(sqlite3_step(ref))
89
+ return self
90
}
91
92
// MARK: Binding Parameters
0 commit comments