We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 42d23cc commit 5423b7eCopy full SHA for 5423b7e
1 file changed
Sources/SQLiteAdapter/SQLiteAdapter.swift
@@ -454,7 +454,7 @@ open class SQLite: SQLiteType {
454
}
455
456
457
- log("successfully read row(s), count: \(allRows.count), sql: \(sql)")
+ log("successfully read a row(s), count: \(allRows.count), sql: \(sql)")
458
return allRows
459
460
@@ -504,7 +504,7 @@ open class SQLite: SQLiteType {
504
let sql = "SELECT * FROM \(table.name) WHERE \(table.primaryKey) = (SELECT MAX(\(table.primaryKey)) FROM \(table.name));"
505
let result = try getRow(from: table, sql: sql)
506
if result.count == 1 {
507
- log("successfully read last row in \(table.name)")
+ log("successfully read the last row in \(table.name)")
508
return result[0]
509
} else {
510
throw SQLiteError.Column(getErrorMessage(dbPointer: dbPointer))
0 commit comments