We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a50a03 commit 4459338Copy full SHA for 4459338
Sources/SQLite/Core/Statement.swift
@@ -232,7 +232,7 @@ extension Statement {
232
public func prepareRowIterator() -> RowIterator {
233
return RowIterator(statement: self, columnNames: self.columnNameMap)
234
}
235
-
+
236
var columnNameMap: [String: Int] {
237
var result = [String: Int]()
238
for (index, name) in self.columnNames.enumerated() {
Tests/SQLiteTests/StatementTests.swift
@@ -23,7 +23,7 @@ class StatementTests: SQLiteTestCase {
23
let blobValue = try! db.scalar(blobs.select(blobColumn).limit(1, offset: 0))
24
XCTAssertEqual([], blobValue.bytes)
25
26
27
func test_prepareRowIterator() {
28
let names = ["a", "b", "c"]
29
try! insertUsers(names)
0 commit comments