fix: harden UCE runtime and starter
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
:sig
|
||||
u32 sqlite_affected_rows(SQLite* db)
|
||||
|
||||
:params
|
||||
db : pointer to an active SQLite connection
|
||||
return value : number of rows changed by the most recent statement
|
||||
|
||||
:see
|
||||
>sqlite
|
||||
sqlite_query
|
||||
sqlite_insert_id
|
||||
|
||||
:content
|
||||
Returns the number of rows changed by the most recent insert, update, or delete statement on the connection.
|
||||
|
||||
```cpp
|
||||
sqlite_query(db, "update users set visits = visits + 1 where id = :id", params);
|
||||
print(sqlite_affected_rows(db));
|
||||
```
|
||||
Reference in New Issue
Block a user