We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5df3f5 commit 7bc33a0Copy full SHA for 7bc33a0
1 file changed
Sources/SQLiteAdapter/SQLiteAdapter.swift
@@ -463,11 +463,12 @@ open class SQLite: SQLiteType {
463
}
464
465
466
+ /// Returns the id of the last row inserted
467
public func getLastInsertID() -> Int {
468
return Int(sqlite3_last_insert_rowid(dbPointer))
469
470
- /// Repack the DB to take advantage of deleted data
471
+ /// Repacks the DB to take advantage of deleted data
472
public func vacuum() throws {
473
let sql = "VACUUM;"
474
try operation(sql: sql)
0 commit comments