Skip to content

Commit 7bc33a0

Browse files
committed
Updated comments
1 parent d5df3f5 commit 7bc33a0

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

Sources/SQLiteAdapter/SQLiteAdapter.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -463,11 +463,12 @@ open class SQLite: SQLiteType {
463463
}
464464
}
465465

466+
/// Returns the id of the last row inserted
466467
public func getLastInsertID() -> Int {
467468
return Int(sqlite3_last_insert_rowid(dbPointer))
468469
}
469470

470-
/// Repack the DB to take advantage of deleted data
471+
/// Repacks the DB to take advantage of deleted data
471472
public func vacuum() throws {
472473
let sql = "VACUUM;"
473474
try operation(sql: sql)

0 commit comments

Comments
 (0)