SQT
A C++ ORM framework for SQLite
Loading...
Searching...
No Matches

◆ LastInsertRowID()

std::int64_t sqt::Database::LastInsertRowID ( ) const
noexcept

Gets the inserted row ID by the most recent successful insert statement.

Returns
The inserted row ID. If no successful insert statement has been executed, the return value is 0.