cleanup, docs
This commit is contained in:
@@ -13,11 +13,6 @@ sqlite_affected_rows
|
||||
:content
|
||||
Returns SQLite's last inserted rowid for the connection after an insert statement.
|
||||
|
||||
```cpp
|
||||
sqlite_query(db, "insert into notes(body) values(:body)", params);
|
||||
u64 id = sqlite_insert_id(db);
|
||||
```
|
||||
|
||||
:example
|
||||
SQLite* db = sqlite_connect("/tmp/doc-sqlite-insertid.db");
|
||||
sqlite_query(db, "drop table if exists t");
|
||||
|
||||
Reference in New Issue
Block a user